diff options
Diffstat (limited to 'src/app/app.h')
-rw-r--r-- | src/app/app.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/app/app.h b/src/app/app.h index 1275d10..8848be1 100644 --- a/src/app/app.h +++ b/src/app/app.h @@ -129,11 +129,11 @@ enum InputSlot struct InputBinding { //! Key - int key; + unsigned int key; //! Key modifier (e.g. shift, control) - int kmod; + unsigned int kmod; //! Joystick button - int joy; + unsigned int joy; inline InputBinding() { @@ -142,7 +142,7 @@ struct InputBinding inline void Reset() { - key = kmod = joy = -1; + key = kmod = joy = static_cast<unsigned int>(-1); } }; |