1786115591
This commit is contained in:
2
build
2
build
@@ -3,4 +3,4 @@ git add .
|
|||||||
git commit -am "$(date +%s)"
|
git commit -am "$(date +%s)"
|
||||||
git push
|
git push
|
||||||
|
|
||||||
ssh -t trekstor -- "cd dashboard && git pull && cargo r -r"
|
ssh -t trekstor -- "cd dashboard && git pull && cargo b -r && systemctl --user restart dashboard"
|
||||||
|
|||||||
@@ -48,7 +48,6 @@ impl InputState {
|
|||||||
};
|
};
|
||||||
|
|
||||||
for event in events {
|
for event in events {
|
||||||
dbg!(&event);
|
|
||||||
match event.destructure() {
|
match event.destructure() {
|
||||||
EventSummary::AbsoluteAxis(_, AbsoluteAxisCode::ABS_X, value) => {
|
EventSummary::AbsoluteAxis(_, AbsoluteAxisCode::ABS_X, value) => {
|
||||||
self.x = ((((value - 13) as f32 / 882.) * (self.width as f32)) as i32)
|
self.x = ((((value - 13) as f32 / 882.) * (self.width as f32)) as i32)
|
||||||
|
|||||||
Reference in New Issue
Block a user