1786115591
This commit is contained in:
2
build
2
build
@@ -3,4 +3,4 @@ git add .
|
||||
git commit -am "$(date +%s)"
|
||||
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 {
|
||||
dbg!(&event);
|
||||
match event.destructure() {
|
||||
EventSummary::AbsoluteAxis(_, AbsoluteAxisCode::ABS_X, value) => {
|
||||
self.x = ((((value - 13) as f32 / 882.) * (self.width as f32)) as i32)
|
||||
|
||||
Reference in New Issue
Block a user