InputManager: Input subclass needs 3 bits now

This commit is contained in:
Connor McLaughlin 2022-12-18 20:02:45 +10:00 committed by lightningterror
parent 3f5dc4e182
commit 129bc0819b
1 changed files with 2 additions and 2 deletions

View File

@ -72,10 +72,10 @@ union InputBindingKey
{
InputSourceType source_type : 4;
u32 source_index : 8; ///< controller number
InputSubclass source_subtype : 2; ///< if 1, binding is for an axis and not a button (used for controllers)
InputSubclass source_subtype : 3; ///< if 1, binding is for an axis and not a button (used for controllers)
InputModifier modifier : 2;
u32 invert : 1; ///< if 1, value is inverted prior to being sent to the sink
u32 unused : 15;
u32 unused : 14;
u32 data;
};