sezanzeb / input-remapper

🎮 ⌨ An easy to use tool to change the behaviour of your input devices.
GNU General Public License v3.0
3.8k stars 156 forks source link

Can't click the output area #662

Closed civarry closed 1 year ago

civarry commented 1 year ago

The output area where i can choose between keyboard and mouse is not clickable and nothing happens when i pressed the record button image

sezanzeb commented 1 year ago

log output? input-remapper-gtk -d

civarry commented 1 year ago
23:43:45.690170 62269 GUI INFO logger.py:264: input-remapper-gtk 2.0.0 9e04df79ca4dca77516a9864d740b9b2d4aef788 https://github.com/sezanzeb/input-remapper
23:43:45.690335 62269 GUI INFO logger.py:272: python-evdev 1.3.0
23:43:45.690428 62269 GUI WARNING logger.py:275: Debug level will log all your keystrokes! Do not post this output in the internet if you typed in sensitive or private information with your device!
23:43:45.690509 62269 GUI DEBUG input-remapper-gtk:67: Using locale directory: /usr/share/input-remapper/lang
23:43:45.710622 62269 GUI DEBUG pipe.py:70: Creating new pipe for "/tmp/input-remapper-civarry/reader-results"
23:43:45.711156 62269 GUI DEBUG pipe.py:70: Creating new pipe for "/tmp/input-remapper-civarry/reader-commands"
23:43:45.711574 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.terminate: <function ReaderClient.attach_to_events.<locals>.<lambda> at 0x7f4bcc95c280>
23:43:45.712156 62269 GUI DEBUG reader_service.py:144: Running `pkexec input-remapper-control --command start-reader-service -d`
23:43:48.983866 62272 control DEBUG input-remapper-control:233: Call for "['/usr/bin/input-remapper-control', '--command', 'start-reader-service', '-d']"
23:43:48.992495 62272 control DEBUG input-remapper-control:215: System is booted
23:43:48.992717 62272 control DEBUG input-remapper-control:178: Running `input-remapper-reader-service -d &`
23:43:48.993727 62272 control INFO input-remapper-control:263: Done
23:43:49.041014 62269 GUI INFO daemon.py:228: Connected to the service
23:43:49.041153 62269 GUI DEBUG daemon.py:264: Telling service about "/home/civarry/.config/input-remapper-2"
23:43:49.044371 62269 GUI DEBUG global_uinputs.py:135: Creating FrontendUInputs
23:43:49.044639 62269 GUI DEBUG global_uinputs.py:103: creating fake UInput device: "input-remapper keyboard"
23:43:49.044799 62269 GUI DEBUG global_uinputs.py:103: creating fake UInput device: "input-remapper gamepad"
23:43:49.044929 62269 GUI DEBUG global_uinputs.py:103: creating fake UInput device: "input-remapper mouse"
23:43:49.045048 62269 GUI DEBUG global_uinputs.py:103: creating fake UInput device: "input-remapper keyboard + mouse"
23:43:49.045310 62269 GUI INFO global_config.py:109: Loaded config from "/home/civarry/.config/input-remapper-2/config.json"
23:43:49.045456 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.groups: <bound method Controller._on_groups_changed of <inputremapper.gui.controller.Controller object at 0x7f4bcd6a1970>>
23:43:49.045583 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method Controller._on_preset_changed of <inputremapper.gui.controller.Controller object at 0x7f4bcd6a1970>>
23:43:49.045700 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.init: <bound method Controller._on_init of <inputremapper.gui.controller.Controller object at 0x7f4bcd6a1970>>
23:43:49.045825 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method Controller._publish_mapping_errors_as_status_msg of <inputremapper.gui.controller.Controller object at 0x7f4bcd6a1970>>
23:43:49.045945 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method Controller._publish_mapping_errors_as_status_msg of <inputremapper.gui.controller.Controller object at 0x7f4bcd6a1970>>
23:43:49.046207 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.terminate: <function UserInterface.__init__.<locals>.<lambda> at 0x7f4bcd698310>
23:43:49.260440 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.groups: <bound method DeviceGroupSelection._on_groups_changed of <inputremapper.gui.components.device_groups.DeviceGroupSelection object at 0x7f4bcd6a1a00>>
23:43:49.260617 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.group: <bound method DeviceGroupSelection._on_group_changed of <inputremapper.gui.components.device_groups.DeviceGroupSelection object at 0x7f4bcd6a1a00>>
23:43:49.260791 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.group: <bound method PresetSelection._on_group_changed of <inputremapper.gui.components.presets.PresetSelection object at 0x7f4bcd6b4cd0>>
23:43:49.260915 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method PresetSelection._on_preset_changed of <inputremapper.gui.components.presets.PresetSelection object at 0x7f4bcd6b4cd0>>
23:43:49.261491 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method MappingListBox._on_preset_changed of <inputremapper.gui.components.editor.MappingListBox object at 0x7f4bcd6b4d60>>
23:43:49.261652 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method MappingListBox._on_mapping_changed of <inputremapper.gui.components.editor.MappingListBox object at 0x7f4bcd6b4d60>>
23:43:49.261826 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.uinputs: <bound method TargetSelection._on_uinputs_changed of <inputremapper.gui.components.editor.TargetSelection object at 0x7f4bcd6b4e20>>
23:43:49.261966 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method TargetSelection._on_mapping_loaded of <inputremapper.gui.components.editor.TargetSelection object at 0x7f4bcd6b4e20>>
23:43:49.262161 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.group: <bound method Breadcrumbs._on_group_changed of <inputremapper.gui.components.common.Breadcrumbs object at 0x7f4bcd6b4e80>>
23:43:49.262268 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method Breadcrumbs._on_preset_changed of <inputremapper.gui.components.common.Breadcrumbs object at 0x7f4bcd6b4e80>>
23:43:49.262366 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method Breadcrumbs._on_mapping_changed of <inputremapper.gui.components.common.Breadcrumbs object at 0x7f4bcd6b4e80>>
23:43:49.262885 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.group: <bound method Breadcrumbs._on_group_changed of <inputremapper.gui.components.common.Breadcrumbs object at 0x7f4bcd6b4fd0>>
23:43:49.263003 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method Breadcrumbs._on_preset_changed of <inputremapper.gui.components.common.Breadcrumbs object at 0x7f4bcd6b4fd0>>
23:43:49.263109 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method Breadcrumbs._on_mapping_changed of <inputremapper.gui.components.common.Breadcrumbs object at 0x7f4bcd6b4fd0>>
23:43:49.263557 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.do_stack_switch: <bound method Stack._do_stack_switch of <inputremapper.gui.components.main.Stack object at 0x7f4bcd6a1af0>>
23:43:49.263741 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.recording_finished: <bound method RecordingToggle._on_recording_finished of <inputremapper.gui.components.editor.RecordingToggle object at 0x7f4bcd6a1f10>>
23:43:49.263983 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method RequireActiveMapping._on_preset of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7f4bcd6a1fd0>>
23:43:49.264116 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method RequireActiveMapping._on_mapping of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7f4bcd6a1fd0>>
23:43:49.265106 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.status_msg: <bound method StatusBar._on_status_update of <inputremapper.gui.components.main.StatusBar object at 0x7f4bcd6a1e50>>
23:43:49.265258 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.recording_started: <bound method RecordingStatus._on_recording_started of <inputremapper.gui.components.editor.RecordingStatus object at 0x7f4bcd6a1dc0>>
23:43:49.265373 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.recording_finished: <bound method RecordingStatus._on_recording_finished of <inputremapper.gui.components.editor.RecordingStatus object at 0x7f4bcd6a1dc0>>
23:43:49.265871 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method AutoloadSwitch._on_preset_changed of <inputremapper.gui.components.editor.AutoloadSwitch object at 0x7f4bcd6a1d30>>
23:43:49.266024 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method ReleaseCombinationSwitch._on_mapping_changed of <inputremapper.gui.components.editor.ReleaseCombinationSwitch object at 0x7f4bcd6b4f70>>
23:43:49.266160 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method CombinationListbox._on_mapping_changed of <inputremapper.gui.components.editor.CombinationListbox object at 0x7f4bcd6b4fa0>>
23:43:49.266269 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.selected_event: <bound method CombinationListbox._on_event_changed of <inputremapper.gui.components.editor.CombinationListbox object at 0x7f4bcd6b4fa0>>
23:43:49.266401 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.selected_event: <bound method AnalogInputSwitch._on_event of <inputremapper.gui.components.editor.AnalogInputSwitch object at 0x7f4bcd6b4640>>
23:43:49.267459 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.selected_event: <bound method TriggerThresholdInput._on_event of <inputremapper.gui.components.editor.TriggerThresholdInput object at 0x7f4bcd6b4c10>>
23:43:49.268497 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method RelativeInputCutoffInput._on_mapping_message of <inputremapper.gui.components.editor.RelativeInputCutoffInput object at 0x7f4bcd6b48e0>>
23:43:49.269795 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method OutputAxisSelector._on_mapping_message of <inputremapper.gui.components.editor.OutputAxisSelector object at 0x7f4bcd6b4b80>>
23:43:49.269967 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.uinputs: <bound method OutputAxisSelector._on_uinputs_message of <inputremapper.gui.components.editor.OutputAxisSelector object at 0x7f4bcd6b4b80>>
23:43:49.270148 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method KeyAxisStackSwitcher._on_mapping_message of <inputremapper.gui.components.editor.KeyAxisStackSwitcher object at 0x7f4bcd6b4940>>
23:43:49.270337 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method ReleaseTimeoutInput._on_mapping_message of <inputremapper.gui.components.editor.ReleaseTimeoutInput object at 0x7f4bcd6b4a00>>
23:43:49.270741 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method TransformationDrawArea._on_mapping_message of <inputremapper.gui.components.editor.TransformationDrawArea object at 0x7f4bcd6b4730>>
23:43:49.272146 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method Sliders._on_mapping_message of <inputremapper.gui.components.editor.Sliders object at 0x7f4bcd6b46a0>>
23:43:49.272363 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method RequireActiveMapping._on_preset of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7f4bcd6b4190>>
23:43:49.272518 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method RequireActiveMapping._on_mapping of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7f4bcd6b4190>>
23:43:49.272663 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method RequireActiveMapping._on_preset of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7f4bcd6b4070>>
23:43:49.272771 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method RequireActiveMapping._on_mapping of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7f4bcd6b4070>>
23:43:49.272912 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method RequireActiveMapping._on_preset of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7f4bcd6b4040>>
23:43:49.273007 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method RequireActiveMapping._on_mapping of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7f4bcd6b4040>>
23:43:49.273848 62269 GUI WARNING utils.py:199: HandlerDisabled entry failed: "nothing connected to <bound method CodeEditor._on_gtk_changed of <inputremapper.gui.components.editor.CodeEditor object at 0x7f4bcd6b4220>>"
23:43:49.274158 62269 GUI WARNING utils.py:205: HandlerDisabled exit failed: "nothing connected to <bound method CodeEditor._on_gtk_changed of <inputremapper.gui.components.editor.CodeEditor object at 0x7f4bcd6b4220>>"
23:43:49.274364 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method CodeEditor._on_mapping_loaded of <inputremapper.gui.components.editor.CodeEditor object at 0x7f4bcd6b4220>>
23:43:49.274492 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.recording_finished: <bound method CodeEditor._on_recording_finished of <inputremapper.gui.components.editor.CodeEditor object at 0x7f4bcd6b4220>>
23:43:49.276310 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method Autocompletion._on_mapping_changed of <autocompletion.Autocompletion object at 0x7f4bc8556fc0 (Autocompletion at 0x22bc720)>>
23:43:49.276454 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.uinputs: <bound method Autocompletion._on_uinputs_changed of <autocompletion.Autocompletion object at 0x7f4bc8556fc0 (Autocompletion at 0x22bc720)>>
23:43:49.276960 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method UserInterface.update_combination_label of <inputremapper.gui.user_interface.UserInterface object at 0x7f4bcd6a19a0>>
23:43:49.277082 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.injector_state: <bound method UserInterface.on_injector_state_msg of <inputremapper.gui.user_interface.UserInterface object at 0x7f4bcd6a19a0>>
23:43:49.277187 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.user_confirm_request: <bound method UserInterface._on_user_confirm_request of <inputremapper.gui.user_interface.UserInterface object at 0x7f4bcd6a19a0>>
23:43:49.337322 62281 reader-service DEBUG data.py:96: Found data at "/usr/share/input-remapper"
23:43:49.350757 62281 reader-service DEBUG pipe.py:87: Using existing pipe for "/tmp/input-remapper-civarry/reader-results"
23:43:49.351009 62281 reader-service DEBUG pipe.py:87: Using existing pipe for "/tmp/input-remapper-civarry/reader-commands"
23:43:49.352027 62281 reader-service DEBUG reader_service.py:154: Discovering initial groups
23:43:49.352583 62281 reader-service DEBUG groups.py:354: Discovering device paths
23:43:49.353483 62281 reader-service DEBUG groups.py:402: Found keyboard "Logitech G102 LIGHTSYNC Gaming Mouse Keyboard" at "/dev/input/event6", hash "d5b5a38b8ab6253be41d6c7d915700b4", key "3_1133_49298_usb-0000:00:14.0-2"
23:43:49.365429 62269 GUI DEBUG reader_client.py:141: received {'type': 'status', 'message': 'ready'}
23:43:49.375039 62269 GUI DEBUG message_broker.py:76: from input-remapper-gtk:98: Signal=init: Signal: MessageType.init
23:43:49.375811 62269 GUI DEBUG groups.py:354: Discovering device paths
23:43:49.376167 62281 reader-service DEBUG groups.py:402: Found mouse "Logitech G102 LIGHTSYNC Gaming Mouse" at "/dev/input/event5", hash "02d775e9c72b238ea66c75bb0581b5a1", key "3_1133_49298_usb-0000:00:14.0-2"
23:43:49.376734 62269 GUI DEBUG groups.py:478: Did not find any input device
23:43:49.377394 62269 GUI DEBUG message_broker.py:76: from reader_client.py:282: Signal=groups: GroupsData(groups={})
23:43:49.378078 62269 GUI DEBUG controller.py:128: Could not find a group
23:43:49.378227 62269 GUI DEBUG message_broker.py:76: from data_manager.py:140: Signal=uinputs: UInputsData(uinputs={'keyboard': {1: [0, ... 632]}, 'gamepad': {1: [304, ... 318], 3: [(0, AbsInfo(value=0, min=-32768, max=32768, fuzz=0, flat=0, resolution=0)), (1, AbsInfo(value=0, min=-32768, max=32768, fuzz=0, flat=0, resolution=0)), (2, AbsInfo(value=0, min=-32768, max=32768, fuzz=0, flat=0, resolution=0)), (3, AbsInfo(value=0, min=-32768, max=32768, fuzz=0, flat=0, resolution=0)), (4, AbsInfo(value=0, min=-32768, max=32768, fuzz=0, flat=0, resolution=0)), (5, AbsInfo(value=0, min=-32768, max=32768, fuzz=0, flat=0, resolution=0)), (16, AbsInfo(value=0, min=-1, max=1, fuzz=0, flat=0, resolution=0)), (17, AbsInfo(value=0, min=-1, max=1, fuzz=0, flat=0, resolution=0))]}, 'mouse': {1: [272, ... 279], 2: [0, ... 12]}, 'keyboard + mouse': {1: [0, ... 279], 2: [0, ... 12]}})
23:43:49.412185 62281 reader-service DEBUG groups.py:402: Found unknown "Dell WMI hotkeys" at "/dev/input/event18", hash "fd987cbd5a7c5f35939b17e7efd938cd", key "25_0_0_-"
23:43:49.432423 62281 reader-service DEBUG groups.py:391: "HDA Intel PCH Dock Line Out" has no useful capabilities
23:43:49.448238 62281 reader-service DEBUG groups.py:391: "HDA Intel PCH Headphone Mic" has no useful capabilities
23:43:49.464153 62281 reader-service DEBUG groups.py:391: "HDA Intel PCH Dock Mic" has no useful capabilities
23:43:49.480164 62281 reader-service DEBUG groups.py:391: "HDA Intel HDMI HDMI/DP,pcm=10" has no useful capabilities
23:43:49.504334 62281 reader-service DEBUG groups.py:391: "HDA Intel HDMI HDMI/DP,pcm=9" has no useful capabilities
23:43:49.524164 62281 reader-service DEBUG groups.py:391: "HDA Intel HDMI HDMI/DP,pcm=8" has no useful capabilities
23:43:49.540237 62281 reader-service DEBUG groups.py:391: "HDA Intel HDMI HDMI/DP,pcm=7" has no useful capabilities
23:43:49.556242 62281 reader-service DEBUG groups.py:391: "HDA Intel HDMI HDMI/DP,pcm=3" has no useful capabilities
23:43:49.576299 62281 reader-service DEBUG groups.py:402: Found unknown "DELL Wireless hotkeys" at "/dev/input/event9", hash "68b90640798481d0174bc114fe1453ee", key "25_0_0_dellabce"
23:43:49.604310 62281 reader-service DEBUG groups.py:402: Found touchpad "AlpsPS/2 ALPS GlidePoint" at "/dev/input/event8", hash "3514c0c7d6eabf986c75fa7af386bafa", key "17_2_8_isa0060"
23:43:49.620181 62281 reader-service DEBUG groups.py:402: Found unknown "Video Bus" at "/dev/input/event7", hash "97ce48b026f7f5a939d64ade3b570921", key "25_0_6_LNXVIDEO"
23:43:49.648693 62281 reader-service DEBUG groups.py:402: Found keyboard "AT Translated Set 2 keyboard" at "/dev/input/event4", hash "650869084d234c8ce49bb632f09ccf3e", key "17_1_1_isa0060"
23:43:49.684280 62281 reader-service DEBUG groups.py:402: Found unknown "Sleep Button" at "/dev/input/event2", hash "9cfc19c3c931a9d205fc3fa9d159a97e", key "25_0_3_PNP0C0E"
23:43:49.736172 62281 reader-service DEBUG groups.py:391: "Lid Switch" has no useful capabilities
23:43:49.736942 62281 reader-service INFO groups.py:481: Found "Logitech G102 LIGHTSYNC Gaming Mouse", "Dell WMI hotkeys", "DELL Wireless hotkeys", "AlpsPS/2 ALPS GlidePoint", "Video Bus", "AT Translated Set 2 keyboard", "Sleep Button"
23:43:49.737098 62281 reader-service DEBUG reader_service.py:161: Sending groups
23:43:49.737402 62281 reader-service DEBUG reader_service.py:193: Waiting for commands
23:43:49.767432 62269 GUI DEBUG reader_client.py:141: received {'type': 'groups', 'message': '["{\\"paths\\": [\\"/dev/input/event6\\", \\"/dev/input/event5\\"], \\"names\\": [\\"Logitech G102 LIGHTSYNC Gaming Mouse Keyboard\\", \\"Logitech G102 LIGHTSYNC Gaming Mouse\\"], \\"types\\": [\\"keyboard\\", \\"mouse\\"], \\"key\\": \\"Logitech G102 LIGHTSYNC Gaming Mouse\\"}", "{\\"paths\\": [\\"/dev/input/event18\\"], \\"names\\": [\\"Dell WMI hotkeys\\"], \\"types\\": [], \\"key\\": \\"Dell WMI hotkeys\\"}", "{\\"paths\\": [\\"/dev/input/event9\\"], \\"names\\": [\\"DELL Wireless hotkeys\\"], \\"types\\": [], \\"key\\": \\"DELL Wireless hotkeys\\"}", "{\\"paths\\": [\\"/dev/input/event8\\"], \\"names\\": [\\"AlpsPS/2 ALPS GlidePoint\\"], \\"types\\": [\\"touchpad\\"], \\"key\\": \\"AlpsPS/2 ALPS GlidePoint\\"}", "{\\"paths\\": [\\"/dev/input/event7\\"], \\"names\\": [\\"Video Bus\\"], \\"types\\": [], \\"key\\": \\"Video Bus\\"}", "{\\"paths\\": [\\"/dev/input/event4\\"], \\"names\\": [\\"AT Translated Set 2 keyboard\\"], \\"types\\": [\\"keyboard\\"], \\"key\\": \\"AT Translated Set 2 keyboard\\"}", "{\\"paths\\": [\\"/dev/input/event2\\"], \\"names\\": [\\"Sleep Button\\"], \\"types\\": [], \\"key\\": \\"Sleep Button\\"}"]'}
23:43:49.767969 62269 GUI DEBUG reader_client.py:287: Received 7 devices
23:43:49.768266 62269 GUI DEBUG message_broker.py:76: from reader_client.py:282: Signal=groups: GroupsData(groups={'Logitech G102 LIGHTSYNC Gaming Mouse': [<DeviceType.KEYBOARD: 'keyboard'>, <DeviceType.MOUSE: 'mouse'>], 'Dell WMI hotkeys': [], 'DELL Wireless hotkeys': [], 'AlpsPS/2 ALPS GlidePoint': [<DeviceType.TOUCHPAD: 'touchpad'>], 'Video Bus': [], 'AT Translated Set 2 keyboard': [<DeviceType.KEYBOARD: 'keyboard'>], 'Sleep Button': []})
23:43:49.768496 62269 GUI DEBUG device_groups.py:102: adding Logitech G102 LIGHTSYNC Gaming Mouse to device selection
23:43:49.770301 62269 GUI DEBUG device_groups.py:102: adding Dell WMI hotkeys to device selection
23:43:49.771197 62269 GUI DEBUG device_groups.py:102: adding DELL Wireless hotkeys to device selection
23:43:49.772021 62269 GUI DEBUG device_groups.py:102: adding AlpsPS/2 ALPS GlidePoint to device selection
23:43:49.773043 62269 GUI DEBUG device_groups.py:102: adding Video Bus to device selection
23:43:49.773849 62269 GUI DEBUG device_groups.py:102: adding AT Translated Set 2 keyboard to device selection
23:43:49.774802 62269 GUI DEBUG device_groups.py:102: adding Sleep Button to device selection
23:43:49.776272 62269 GUI INFO data_manager.py:297: Loading group "Logitech G102 LIGHTSYNC Gaming Mouse"
23:43:49.777821 62269 GUI INFO data_manager.py:315: Loading preset "new preset"
23:43:49.777968 62269 GUI INFO preset.py:143: Loading preset from "/home/civarry/.config/input-remapper-2/presets/Logitech G102 LIGHTSYNC Gaming Mouse/new preset.json"
23:43:49.778277 62269 GUI DEBUG message_broker.py:76: from data_manager.py:100: Signal=group: GroupData(group_key='Logitech G102 LIGHTSYNC Gaming Mouse', presets=('new preset',))
23:43:49.779128 62269 GUI DEBUG message_broker.py:76: from data_manager.py:158: Signal=injector_state: InjectorStateMessage(state='UNKNOWN')
23:43:49.779298 62269 GUI DEBUG message_broker.py:76: from data_manager.py:111: Signal=preset: PresetData(name='new preset', mappings=[], autoload=True)
23:43:49.781048 62269 GUI DEBUG message_broker.py:76: from controller.py:147: Signal=mapping: {'target_uinput': 'keyboard'}
23:43:49.784419 62269 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None)
23:43:49.784592 62269 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None)
23:43:51.455599 62269 GUI DEBUG device_groups.py:66: Selecting device "Logitech G102 LIGHTSYNC Gaming Mouse"
23:43:51.455917 62269 GUI INFO data_manager.py:297: Loading group "Logitech G102 LIGHTSYNC Gaming Mouse"
23:43:51.456590 62269 GUI DEBUG message_broker.py:76: from data_manager.py:100: Signal=group: GroupData(group_key='Logitech G102 LIGHTSYNC Gaming Mouse', presets=('new preset',))
23:43:51.460075 62269 GUI DEBUG message_broker.py:76: from data_manager.py:158: Signal=injector_state: InjectorStateMessage(state='UNKNOWN')
23:43:51.460747 62269 GUI INFO data_manager.py:315: Loading preset "new preset"
23:43:51.461122 62269 GUI INFO preset.py:143: Loading preset from "/home/civarry/.config/input-remapper-2/presets/Logitech G102 LIGHTSYNC Gaming Mouse/new preset.json"
23:43:51.461639 62269 GUI DEBUG message_broker.py:76: from data_manager.py:111: Signal=preset: PresetData(name='new preset', mappings=[], autoload=True)
23:43:51.462555 62269 GUI DEBUG message_broker.py:76: from controller.py:147: Signal=mapping: {'target_uinput': 'keyboard'}
23:43:51.464662 62269 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None)
23:43:51.464888 62269 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None)
23:43:51.465348 62269 GUI DEBUG message_broker.py:76: from device_groups.py:68: Signal=do_stack_switch: DoStackSwitch(page_index=1)
23:43:52.568314 62269 GUI DEBUG presets.py:60: Selecting preset "new preset"
23:43:52.568445 62269 GUI INFO data_manager.py:315: Loading preset "new preset"
23:43:52.568548 62269 GUI INFO preset.py:143: Loading preset from "/home/civarry/.config/input-remapper-2/presets/Logitech G102 LIGHTSYNC Gaming Mouse/new preset.json"
23:43:52.568823 62269 GUI DEBUG message_broker.py:76: from data_manager.py:111: Signal=preset: PresetData(name='new preset', mappings=[], autoload=True)
23:43:52.569341 62269 GUI DEBUG message_broker.py:76: from controller.py:147: Signal=mapping: {'target_uinput': 'keyboard'}
23:43:52.570330 62269 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None)
23:43:52.570443 62269 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None)
23:43:52.570699 62269 GUI DEBUG message_broker.py:76: from presets.py:62: Signal=do_stack_switch: DoStackSwitch(page_index=2)
23:44:00.201519 62269 GUI DEBUG message_broker.py:76: from data_manager.py:111: Signal=preset: PresetData(name='new preset', mappings=[MappingData(input_combination=<InputCombination (<InputConfig (99, 99) unknown, 99, None, at 0x7f4bc8032200>) at 0x7f4bc8032280>, target_uinput=None, output_symbol=None, output_type=None, output_code=None, name=None, mapping_type=None, release_combination_keys=True, macro_key_sleep_ms=0, deadzone=0.1, gain=1.0, expo=0.0, rel_rate=60, rel_to_abs_input_cutoff=2, release_timeout=0.05, force_release_timeout=False, message_type=<MessageType.mapping: 'mapping'>)], autoload=True)
23:44:00.204451 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method MappingSelectionLabel._on_mapping_changed of <MappingSelectionLabel for Combination (InputConfig unknown) as Empty Mapping at 0x7f4bc8032440>>
23:44:00.204624 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.combination_update: <bound method MappingSelectionLabel._on_combination_update of <MappingSelectionLabel for Combination (InputConfig unknown) as Empty Mapping at 0x7f4bc8032440>>
23:44:00.206588 62269 GUI DEBUG message_broker.py:76: from data_manager.py:125: Signal=mapping: {}
23:44:00.210172 62269 GUI WARNING input_config.py:129: Unknown type for InputConfig unknown
23:44:00.211077 62269 GUI DEBUG message_broker.py:76: from data_manager.py:136: Signal=selected_event: InputConfig unknown
23:44:00.211809 62269 GUI DEBUG message_broker.py:76: from data_manager.py:136: Signal=selected_event: InputConfig unknown
23:44:00.212222 62269 GUI DEBUG message_broker.py:76: from controller.py:722: Signal=status_msg: StatusData(ctx_id=5, msg='"Empty Mapping": none is not an allowed value', tooltip='none is not an allowed value')
23:44:00.212483 62269 GUI DEBUG message_broker.py:76: from controller.py:722: Signal=status_msg: StatusData(ctx_id=5, msg='"Empty Mapping": none is not an allowed value', tooltip='none is not an allowed value')
23:44:00.213014 62269 GUI DEBUG message_broker.py:76: from data_manager.py:125: Signal=mapping: {}
23:44:00.215412 62269 GUI DEBUG message_broker.py:76: from controller.py:722: Signal=status_msg: StatusData(ctx_id=5, msg='"Empty Mapping": none is not an allowed value', tooltip='none is not an allowed value')
23:44:00.215997 62269 GUI DEBUG message_broker.py:76: from data_manager.py:125: Signal=mapping: {'target_uinput': 'keyboard'}
23:44:00.216970 62269 GUI ERROR controller.py:171: Expected an error
23:44:01.429639 62269 GUI DEBUG system_mapping.py:128: Gathering available keycodes
23:44:01.429940 62269 GUI DEBUG system_mapping.py:128: Gathering available keycodes
23:44:01.442002 62269 GUI DEBUG system_mapping.py:114: Writing "/home/civarry/.config/input-remapper-2/xmodmap.json"
23:44:01.442899 62269 GUI DEBUG system_mapping.py:128: Gathering available keycodes
23:44:01.449982 62269 GUI DEBUG system_mapping.py:114: Writing "/home/civarry/.config/input-remapper-2/xmodmap.json"
23:44:01.460795 62269 GUI DEBUG system_mapping.py:114: Writing "/home/civarry/.config/input-remapper-2/xmodmap.json"
23:44:06.286730 62269 GUI DEBUG message_broker.py:76: from data_manager.py:125: Signal=mapping: {'target_uinput': 'keyboard', 'name': 'Wheel UP'}
23:44:06.289693 62269 GUI ERROR controller.py:171: Expected an error
23:44:06.292825 62269 GUI INFO preset.py:181: Saving preset to /home/civarry/.config/input-remapper-2/presets/Logitech G102 LIGHTSYNC Gaming Mouse/new preset.json
23:44:06.293223 62269 GUI DEBUG preset.py:190: Skipping invalid mapping {'target_uinput': 'keyboard'}
23:44:21.369500 62269 GUI INFO global_config.py:66: Not injecting for "Logitech G102 LIGHTSYNC Gaming Mouse" automatically anmore
23:44:21.370359 62269 GUI INFO global_config.py:129: Saved config to /home/civarry/.config/input-remapper-2/config.json
23:44:21.371842 62269 GUI DEBUG message_broker.py:76: from data_manager.py:111: Signal=preset: PresetData(name='new preset', mappings=[MappingData(input_combination=<InputCombination (<InputConfig (99, 99) unknown, 99, None, at 0x7f4bcd6ad600>) at 0x7f4bc25c8f00>, target_uinput='keyboard', output_symbol=None, output_type=None, output_code=None, name='Wheel UP', mapping_type=None, release_combination_keys=True, macro_key_sleep_ms=0, deadzone=0.1, gain=1.0, expo=0.0, rel_rate=60, rel_to_abs_input_cutoff=2, release_timeout=0.05, force_release_timeout=False, message_type=<MessageType.mapping: 'mapping'>)], autoload=False)
23:44:21.376745 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method MappingSelectionLabel._on_mapping_changed of <MappingSelectionLabel for Combination (InputConfig unknown) as Wheel UP at 0x7f4bc25cb880>>
23:44:21.377011 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.combination_update: <bound method MappingSelectionLabel._on_combination_update of <MappingSelectionLabel for Combination (InputConfig unknown) as Wheel UP at 0x7f4bc25cb880>>
23:44:21.378946 62269 GUI ERROR controller.py:171: Expected an error
23:44:21.379237 62269 GUI DEBUG message_broker.py:76: from data_manager.py:125: Signal=mapping: {'target_uinput': 'keyboard', 'name': 'Wheel UP'}
23:44:21.380643 62269 GUI ERROR controller.py:171: Expected an error
23:44:21.381500 62269 GUI DEBUG message_broker.py:76: from data_manager.py:136: Signal=selected_event: InputConfig unknown
23:44:21.381759 62269 GUI DEBUG message_broker.py:76: from data_manager.py:136: Signal=selected_event: InputConfig unknown
23:44:46.169644 62269 GUI WARNING input_config.py:268: No origin_hash set for {'type': 1, 'code': 272}
23:44:46.170227 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.injector_state: <bound method Controller.show_injector_result of <inputremapper.gui.controller.Controller object at 0x7f4bcd6a1970>>
23:44:46.170686 62269 GUI DEBUG message_broker.py:76: from controller.py:722: Signal=status_msg: StatusData(ctx_id=1, msg='Starting injection...', tooltip=None)
23:44:46.773024 62269 GUI DEBUG message_broker.py:76: from data_manager.py:158: Signal=injector_state: InjectorStateMessage(state='NO_GRAB')
23:44:46.773979 62269 GUI DEBUG message_broker.py:76: from controller.py:722: Signal=status_msg: StatusData(ctx_id=3, msg='The device was not grabbed', tooltip="Either another application is already grabbing it, your preset doesn't contain anything that is sent by the device or your preset contains errors")
23:44:54.796248 62269 GUI WARNING input_config.py:268: No origin_hash set for {'type': 1, 'code': 272}
23:44:54.796878 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.injector_state: <bound method Controller.show_injector_result of <inputremapper.gui.controller.Controller object at 0x7f4bcd6a1970>>
23:44:54.797299 62269 GUI DEBUG message_broker.py:76: from controller.py:722: Signal=status_msg: StatusData(ctx_id=1, msg='Starting injection...', tooltip=None)
23:44:54.918644 62269 GUI DEBUG message_broker.py:76: from data_manager.py:158: Signal=injector_state: InjectorStateMessage(state='NO_GRAB')
23:44:54.918926 62269 GUI DEBUG message_broker.py:76: from controller.py:722: Signal=status_msg: StatusData(ctx_id=3, msg='The device was not grabbed', tooltip="Either another application is already grabbing it, your preset doesn't contain anything that is sent by the device or your preset contains errors")
23:44:58.293712 62269 GUI WARNING input_config.py:268: No origin_hash set for {'type': 1, 'code': 272}
23:44:58.294185 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.injector_state: <bound method Controller.show_injector_result of <inputremapper.gui.controller.Controller object at 0x7f4bcd6a1970>>
23:44:58.294636 62269 GUI DEBUG message_broker.py:76: from controller.py:722: Signal=status_msg: StatusData(ctx_id=1, msg='Starting injection...', tooltip=None)
23:44:58.846312 62269 GUI DEBUG message_broker.py:76: from data_manager.py:158: Signal=injector_state: InjectorStateMessage(state='NO_GRAB')
23:44:58.846713 62269 GUI DEBUG message_broker.py:76: from controller.py:722: Signal=status_msg: StatusData(ctx_id=3, msg='The device was not grabbed', tooltip="Either another application is already grabbing it, your preset doesn't contain anything that is sent by the device or your preset contains errors")
23:44:59.436378 62269 GUI WARNING input_config.py:268: No origin_hash set for {'type': 1, 'code': 272}
23:44:59.436992 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.injector_state: <bound method Controller.show_injector_result of <inputremapper.gui.controller.Controller object at 0x7f4bcd6a1970>>
23:44:59.437448 62269 GUI DEBUG message_broker.py:76: from controller.py:722: Signal=status_msg: StatusData(ctx_id=1, msg='Starting injection...', tooltip=None)
23:44:59.556520 62269 GUI DEBUG message_broker.py:76: from data_manager.py:158: Signal=injector_state: InjectorStateMessage(state='NO_GRAB')
23:44:59.556952 62269 GUI DEBUG message_broker.py:76: from controller.py:722: Signal=status_msg: StatusData(ctx_id=3, msg='The device was not grabbed', tooltip="Either another application is already grabbing it, your preset doesn't contain anything that is sent by the device or your preset contains errors")
23:45:00.253711 62269 GUI WARNING input_config.py:268: No origin_hash set for {'type': 1, 'code': 272}
23:45:00.254137 62269 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.injector_state: <bound method Controller.show_injector_result of <inputremapper.gui.controller.Controller object at 0x7f4bcd6a1970>>
23:45:00.254444 62269 GUI DEBUG message_broker.py:76: from controller.py:722: Signal=status_msg: StatusData(ctx_id=1, msg='Starting injection...', tooltip=None)
23:45:00.373100 62269 GUI DEBUG message_broker.py:76: from data_manager.py:158: Signal=injector_state: InjectorStateMessage(state='NO_GRAB')
23:45:00.373800 62269 GUI DEBUG message_broker.py:76: from controller.py:722: Signal=status_msg: StatusData(ctx_id=3, msg='The device was not grabbed', tooltip="Either another application is already grabbing it, your preset doesn't contain anything that is sent by the device or your preset contains errors")
sezanzeb commented 1 year ago

Thanks. Please post the content of "/home/civarry/.config/input-remapper-2/presets/Logitech G102 LIGHTSYNC Gaming Mouse/new preset.json"

sezanzeb commented 1 year ago

is this also happening when recording buttons? Does it work for your keyboard?

civarry commented 1 year ago

Here's the copy of new preset.json

[]

civarry commented 1 year ago

after choosing the device the only thing i can do with the app is to click add, change the name of the mapping and that's it. i can't change anything aside from it

sezanzeb commented 1 year ago

image

change the name of the mapping and that's it.

So that means "Wheel Up" was a custom name that you typed in?

civarry commented 1 year ago

yes

On Tue, Mar 21, 2023, 12:29 AM Tobi @.***> wrote:

[image: image] https://user-images.githubusercontent.com/28510156/226405594-13973a98-4513-48a2-867d-d6e8fff13915.png

So that means "Wheel Up" was a custom name that you typed in?

— Reply to this email directly, view it on GitHub https://github.com/sezanzeb/input-remapper/issues/662#issuecomment-1476561721, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZ7HNW4DXNXDWLOXFUP34X3W5CAWPANCNFSM6AAAAAAWBH4SCA . You are receiving this because you authored the thread.Message ID: @.***>

sezanzeb commented 1 year ago

oh, well that was a bit confusing

That means the problem is that recording doesn't work.

Did you just install the newest release .deb? Maybe an old input-remapper process is still running, which can cause trouble with the pipes. Try sudo pkill -f input-remapper and then try again.

If that doesn't work, can you please post the logs from running input-remapper-gtk -d and then trying to record something?

civarry commented 1 year ago

i clean installed the latest release since i'd just formatted my device. anyway i tried the old version and the option to choose between mouse, keyboard is working.

but i will send the log of the latest release asap

DamienHodsall commented 1 year ago

I'm having the same issue. When I tried sudo pkill -f input-remapper it killed my touchpad but that might be a separate issue for me.

Here's the log from input-remapper-gtk -d:

input-remapper-debug.txt

cywm39 commented 1 year ago

I have the same issue. I updated my input-remapper from 1.5.0 to 2.0.0 using the newest release .deb file. And then I found that recording doesn't work. When I pressed button on my keyboard, output area will display which key I pressed but can't recording anything. I tried sudo pkill -f input-remapper and then reopening the input-remapper, but still can't recording. I had to roll back to 1.5.0 version. This version's recording can work properly.

sezanzeb commented 1 year ago

@DamienHodsall

Task exception was never retrieved
future: <Task finished name='Task-5' coro=<Event.wait() done, defined at /usr/lib/python3.9/asyncio/locks.py:213> exception=RuntimeError("Task <Task pending name='Task-5' coro=<Event.wait() running at /usr/lib/python3.9/asyncio/locks.py:226> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.9/asyncio/tasks.py:513]> got Future <Future pending> attached to a different loop")>
Traceback (most recent call last):
  File "/usr/lib/python3.9/asyncio/locks.py", line 226, in wait
    await fut
RuntimeError: Task <Task pending name='Task-5' coro=<Event.wait() running at /usr/lib/python3.9/asyncio/locks.py:226> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.9/asyncio/tasks.py:513]> got Future <Future pending> attached to a different loop

Similar issues: https://github.com/sezanzeb/input-remapper/issues/429, https://github.com/sezanzeb/input-remapper/issues/697

Make sure you have the newest Ubuntu installed (22.04 LTS or 23.04), and update python to the newest version, should be 3.10 or newer.

sezanzeb commented 1 year ago

Closing this now. If you are on an older distro than ubuntu 22.04, install 1.5.1: https://github.com/sezanzeb/input-remapper/releases/tag/1.5.1