winebus.sys: Fix lnxev button start byte vs bit index.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b36b2999c8
commit
5b9c1e9163
|
@ -618,7 +618,7 @@ static BOOL set_report_from_event(struct wine_input_private *ext, struct input_e
|
|||
return FALSE;
|
||||
#endif
|
||||
case EV_KEY:
|
||||
set_button_value(ext->button_start + ext->button_map[ie->code], ie->value, ext->current_report_buffer);
|
||||
set_button_value(ext->button_start * 8 + ext->button_map[ie->code], ie->value, ext->current_report_buffer);
|
||||
return FALSE;
|
||||
case EV_ABS:
|
||||
set_abs_axis_value(ext, ie->code, ie->value);
|
||||
|
|
Loading…
Reference in New Issue