1786115591
This commit is contained in:
@@ -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