Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"x" already mapped to somethin else #1085

Open
HappyPony opened this issue Apr 5, 2025 · 0 comments
Open

"x" already mapped to somethin else #1085

HappyPony opened this issue Apr 5, 2025 · 0 comments

Comments

@HappyPony
Copy link

$ input-remapper-control --version
input-remapper 2.0.1 https://github.com/sezanzeb/input-remapper
python-evdev 1.7.0


A message is displayed when you try to assign a key combination to the “x” key:
"x" already mapped to somethin else

I have checked in the
~/.config/input-remapper-2/presets/DEviceXY.json

{
        {
            "type": 1,
            "code": 45,
            "origin_hash": "abd9de813e9e7bc08eda4f79d2c00f3e"
        }
    ],
    "target_uinput": "keyboard",
    "output_symbol": "Control_L+y",
    "name": "Clipboard einf\u00fcgen",
    "mapping_type": "key_macro"
}

There is an assignment of the “y” key in this file. But I have not found any assignment of the “x” button. What can I do to find the cause of this error?

= bugreport =
16:34:26.440674 54578 GUI DEBUG parse.py:456: parsing macro BTN_LEFT + Escape 16:34:26.440983 54578 GUI DEBUG parse.py:391: Transformed "BTN_LEFT+Escape" to "hold_keys(BTN_LEFT,Escape)" 16:34:26.451782 54578 GUI DEBUG parse.py:456: parsing macro Control_L+c 16:34:26.454234 54578 GUI DEBUG parse.py:391: Transformed "Control_L+c" to "hold_keys(Control_L,c)" 16:34:26.458281 54578 GUI DEBUG parse.py:456: parsing macro Control_L+y 16:34:26.458574 54578 GUI DEBUG parse.py:391: Transformed "Control_L+y" to "hold_keys(Control_L,y)" 16:34:26.461360 54578 GUI DEBUG message_broker.py:76: from data_manager.py:125: Signal=mapping: {'input_combination': <InputCombination (<InputConfig (1, 58) KEY_CAPSLOCK, None, abd9de813e9e7bc08eda4f79d2c00f3e, at 0x74309429bc10>) at 0x74309428b250>, 'target_uinput': 'keyboard + mouse', 'output_symbol': 'BTN_LEFT + Escape', 'name': 'CapsLock-mit-Escape-Befehl', 'mapping_type': 'key_macro'} 16:34:26.465437 54578 GUI DEBUG parse.py:456: parsing macro BTN_LEFT + Escape 16:34:26.465633 54578 GUI DEBUG parse.py:391: Transformed "BTN_LEFT+Escape" to "hold_keys(BTN_LEFT,Escape)" 16:34:26.468640 54578 GUI DEBUG parse.py:456: parsing macro Control_L+c 16:34:26.468876 54578 GUI DEBUG parse.py:391: Transformed "Control_L+c" to "hold_keys(Control_L,c)" 16:34:26.470933 54578 GUI DEBUG parse.py:456: parsing macro Control_L+y 16:34:26.471107 54578 GUI DEBUG parse.py:391: Transformed "Control_L+y" to "hold_keys(Control_L,y)" 16:34:26.474074 54578 GUI DEBUG message_broker.py:76: from data_manager.py:136: Signal=selected_event: InputConfig KEY_CAPSLOCK 16:34:26.474382 54578 GUI DEBUG message_broker.py:76: from data_manager.py:136: Signal=selected_event: InputConfig KEY_CAPSLOCK 16:34:26.474626 54578 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None) 16:34:26.474779 54578 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None) 16:34:26.476750 54578 GUI DEBUG message_broker.py:76: from presets.py:62: Signal=do_stack_switch: DoStackSwitch(page_index=2) 16:34:32.250655 54578 GUI DEBUG message_broker.py:76: from data_manager.py:125: Signal=mapping: {'input_combination': <InputCombination (<InputConfig (2, 8) REL_WHEEL, 1, 5184cc746877b1a24fbd249063b59a14, at 0x743097ff0490>, <InputConfig (2, 11) REL_WHEEL_HI_RES, 1, 5184cc746877b1a24fbd249063b59a14, at 0x743097ff24d0>) at 0x74309428af80>, 'target_uinput': 'keyboard', 'output_symbol': 'Left', 'name': 'Markierung ausschneiden', 'mapping_type': 'key_macro'} 16:34:32.262607 54578 GUI DEBUG parse.py:456: parsing macro BTN_LEFT + Escape 16:34:32.263093 54578 GUI DEBUG parse.py:391: Transformed "BTN_LEFT+Escape" to "hold_keys(BTN_LEFT,Escape)" 16:34:32.271593 54578 GUI DEBUG parse.py:456: parsing macro Control_L+c 16:34:32.271976 54578 GUI DEBUG parse.py:391: Transformed "Control_L+c" to "hold_keys(Control_L,c)" 16:34:32.276982 54578 GUI DEBUG parse.py:456: parsing macro Control_L+y 16:34:32.277334 54578 GUI DEBUG parse.py:391: Transformed "Control_L+y" to "hold_keys(Control_L,y)" 16:34:32.296003 54578 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None) 16:34:32.297416 54578 GUI DEBUG message_broker.py:76: from data_manager.py:136: Signal=selected_event: InputConfig REL_WHEEL 16:34:49.669142 54578 GUI DEBUG controller.py:596: Recording Keys 16:34:49.669507 54578 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.combination_recorded: <bound method Controller._on_combination_recorded of <inputremapper.gui.controller.Controller object at 0x74309c9118e0>> 16:34:49.669725 54578 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.recording_finished: <function Controller.start_key_recording.<locals>.on_recording_finished at 0x743097fbdc60> 16:34:49.669926 54578 GUI DEBUG reader_client.py:172: Starting recorder. 16:34:49.750208 54578 GUI DEBUG reader_client.py:120: Sending "Razer Razer Tartarus Pro" to ReaderService 16:34:49.750500 54578 GUI DEBUG message_broker.py:76: from reader_client.py:178: Signal=recording_started: Signal: MessageType.recording_started 16:34:49.751659 54621 reader-service DEBUG reader_service.py:195: Received command "Razer Razer Tartarus Pro" 16:34:49.765774 54621 reader-service DEBUG system_mapping.py:128: Gathering available keycodes 16:34:49.774874 54621 reader-service DEBUG system_mapping.py:114: Writing "/home/username/.config/input-remapper-2/xmodmap.json" 16:34:49.776688 54621 reader-service DEBUG system_mapping.py:128: Gathering available keycodes 16:34:49.782094 54621 reader-service DEBUG system_mapping.py:114: Writing "/home/username/.config/input-remapper-2/xmodmap.json" 16:34:49.791685 54621 reader-service DEBUG event_reader.py:191: Starting to listen for events from /dev/input/event3, fd 14 16:34:49.792300 54621 reader-service DEBUG event_reader.py:191: Starting to listen for events from /dev/input/event4, fd 15 16:34:49.792475 54621 reader-service DEBUG event_reader.py:191: Starting to listen for events from /dev/input/event6, fd 16 16:34:56.813220 54621 reader-service DEBUG reader_service.py:394: Sending to InputEvent for (1, 45, 1) KEY_X frontend 16:34:56.841899 54578 GUI DEBUG reader_client.py:141: received {'type': 'event', 'message': {'sec': 1743863696, 'usec': 812300, 'type': 1, 'code': 45, 'value': 1, 'origin_hash': 'abd9de813e9e7bc08eda4f79d2c00f3e'}} 16:34:56.843812 54578 GUI DEBUG message_broker.py:76: from reader_client.py:248: Signal=combination_recorded: CombinationRecorded(combination=<InputCombination (<InputConfig (1, 45) KEY_X, None, abd9de813e9e7bc08eda4f79d2c00f3e, at 0x743097fc7a90>) at 0x74309428b6b0>) 16:34:56.846031 54578 GUI DEBUG message_broker.py:76: from controller.py:720: Signal=status_msg: StatusData(ctx_id=5, msg='"x" already mapped to something else', tooltip=None) 16:34:56.996267 54621 reader-service DEBUG reader_service.py:394: Sending to InputEvent for (1, 45, 0) KEY_X frontend 16:34:57.027941 54578 GUI DEBUG reader_client.py:141: received {'type': 'event', 'message': {'sec': 1743863696, 'usec': 995210, 'type': 1, 'code': 45, 'value': 0, 'origin_hash': 'abd9de813e9e7bc08eda4f79d2c00f3e'}} 16:34:57.028220 54578 GUI DEBUG reader_client.py:160: Recorder finished. 16:34:57.028374 54578 GUI DEBUG reader_client.py:185: Stopping recorder. 16:34:57.028517 54578 GUI DEBUG reader_client.py:120: Sending "stop-reading" to ReaderService 16:34:57.028918 54578 GUI DEBUG message_broker.py:76: from reader_client.py:196: Signal=recording_finished: Signal: MessageType.recording_finished 16:34:57.029111 54621 reader-service DEBUG reader_service.py:195: Received command "stop-reading" 16:34:57.029697 54621 reader-service DEBUG event_reader.py:108: read loop stopped 16:34:57.029931 54621 reader-service INFO event_reader.py:207: read loop for /dev/input/event3 stopped 16:34:57.035687 54621 reader-service DEBUG event_reader.py:108: read loop stopped 16:34:57.036264 54621 reader-service INFO event_reader.py:207: read loop for /dev/input/event4 stopped 16:34:57.044805 54621 reader-service DEBUG event_reader.py:108: read loop stopped 16:34:57.045499 54621 reader-service INFO event_reader.py:207: read loop for /dev/input/event6 stopped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant