Skip to content

Commit

Permalink
Fix input repeater after DeviceIdentifier conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteMagic committed Dec 22, 2018
1 parent 80a6219 commit 90c51dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gremlin/repeater.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ def process_event(self, event):
"""
# Ignore VJoy events as well as events occurring when
# events are repeated
if self.is_running or event.hardware_id == self._vjoy_device_id:
if self.is_running or \
event.device_id.hardware_id == self._vjoy_device_id:
return

if not input_devices.JoystickInputSignificant().should_process(event):
Expand Down

0 comments on commit 90c51dc

Please sign in to comment.