mirror of
https://github.com/dekuNukem/USB4VC.git
synced 2025-10-31 11:26:46 -07:00
ignore mouse typematic
This commit is contained in:
@@ -491,7 +491,7 @@ def raw_input_event_worker():
|
||||
if 0x1 <= event_code <= 248 and event_code not in gamepad_buttons_as_kb_codes:
|
||||
pcard_spi.xfer(make_keyboard_spi_packet(data, this_id))
|
||||
# Mouse buttons
|
||||
elif 0x110 <= event_code <= 0x117:
|
||||
elif 0x110 <= event_code <= 0x117 and data[4] != 2:
|
||||
mouse_status_dict[event_code] = data[4]
|
||||
clear_mouse_movement(mouse_status_dict)
|
||||
pcard_spi.xfer(make_mouse_spi_packet(mouse_status_dict, this_id))
|
||||
|
||||
Reference in New Issue
Block a user