From 90c51dc2bc8aba5ef459697af62c4171d198268e Mon Sep 17 00:00:00 2001 From: WhiteMagic Date: Sat, 22 Dec 2018 16:25:47 +0100 Subject: [PATCH] Fix input repeater after DeviceIdentifier conversion --- gremlin/repeater.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gremlin/repeater.py b/gremlin/repeater.py index 980ae3b6..ee90baa4 100644 --- a/gremlin/repeater.py +++ b/gremlin/repeater.py @@ -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):