5th Jun, 2020, 05:45 AM
Thank you.
Could you please guide me a little bit further?
Now here I present you the output of my kodi debug log:
So, I supose I could manually map out the keys on my remote using keymap editor addon, for forward and rewind it worked flawlessly, but for key "OK", no matter to what action I assign it, it always does "go back", so it looks like some other keymap catches it earlier, with wrong action. It isnt obvious for me, what map contains mapping for these keys, that all do "go back", and I cant assign otherwise using keymap editor (I can, but it has no effect).
So, do you have any Idea as what to do next? Would it be possible to simply disable all keymaps so only the user defined one is used so there are no conflicts other maps catching keys earlier?
Could you please guide me a little bit further?
Now here I present you the output of my kodi debug log:
Code:
#Pressed key UP and then DOWN, these are working correctly,
2020-06-04 19:19:17.023 T:2963271888 DEBUG: CLibInputKeyboard::ProcessKey - using delay: 500ms repeat: 125ms
2020-06-04 19:19:17.023 T:2693779664 DEBUG: Thread Timer start, auto delete: false
2020-06-04 19:19:17.031 T:2983550240 DEBUG: Keyboard: scancode: 0x67, sym: 0x0111, unicode: 0x0000, modifier: 0x0
2020-06-04 19:19:17.031 T:2983550240 DEBUG: HandleKey: up (0xf080) pressed, action is up
2020-06-04 19:19:17.263 T:2693779664 DEBUG: Thread Timer 2693779664 terminating
2020-06-04 19:19:17.264 T:2983550240 DEBUG: Keyboard: scancode: 0x67, sym: 0x0111, unicode: 0x0000, modifier: 0x0
2020-06-04 19:19:19.527 T:2963271888 DEBUG: CLibInputKeyboard::ProcessKey - using delay: 500ms repeat: 125ms
2020-06-04 19:19:19.527 T:2983550240 DEBUG: Keyboard: scancode: 0x6c, sym: 0x0112, unicode: 0x0000, modifier: 0x0
2020-06-04 19:19:19.527 T:2693779664 DEBUG: Thread Timer start, auto delete: false
2020-06-04 19:19:19.527 T:2983550240 DEBUG: HandleKey: down (0xf081) pressed, action is down
2020-06-04 19:19:19.763 T:2693779664 DEBUG: Thread Timer 2693779664 terminating
2020-06-04 19:19:19.766 T:2983550240 DEBUG: Keyboard: scancode: 0x6c, sym: 0x0112, unicode: 0x0000, modifier: 0x0
Code:
#Pressed OK key. The action is apparetly "go back" which is not what I want the OK key to be doing...
2020-06-04 19:25:24.207 T:2983550240 DEBUG: Keyboard: scancode: 0x00, sym: 0x0000, unicode: 0x0000, modifier: 0x0
2020-06-04 19:25:24.208 T:2983550240 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
2020-06-04 19:25:24.208 T:2983550240 DEBUG: Previous line repeats 1 times.
2020-06-04 19:25:24.208 T:2983550240 DEBUG: HandleKey: long-0 (0x100f200, obc-16838913) pressed, action is back
2020-06-04 19:25:24.208 T:2983550240 DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
2020-06-04 19:25:24.428 T:2983550240 DEBUG: Keyboard: scancode: 0x00, sym: 0x0000, unicode: 0x0000, modifier: 0x0
Code:
#then there is a lot of keys, whose all apparentely do action "go back"
2020-06-04 19:31:38.017 T:2983550240 DEBUG: Previous line repeats 1 times.
2020-06-04 19:31:38.017 T:2983550240 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
2020-06-04 19:31:38.017 T:2983550240 DEBUG: Previous line repeats 1 times.
2020-06-04 19:31:38.018 T:2983550240 DEBUG: HandleKey: long-0 (0x100f200, obc-16838913) pressed, action is back
2020-06-04 19:31:38.018 T:2983550240 DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
2020-06-04 19:31:38.263 T:2983550240 DEBUG: Keyboard: scancode: 0x00, sym: 0x0000, unicode: 0x0000, modifier: 0x0
2020-06-04 19:31:39.775 T:2983550240 DEBUG: Previous line repeats 1 times.
2020-06-04 19:31:39.776 T:2983550240 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
2020-06-04 19:31:39.776 T:2983550240 DEBUG: Previous line repeats 1 times.
2020-06-04 19:31:39.776 T:2983550240 DEBUG: HandleKey: long-0 (0x100f200, obc-16838913) pressed, action is back
2020-06-04 19:31:39.776 T:2983550240 DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
2020-06-04 19:31:40.006 T:2983550240 DEBUG: Keyboard: scancode: 0x00, sym: 0x0000, unicode: 0x0000, modifier: 0x0
2020-06-04 19:31:41.502 T:2983550240 DEBUG: Previous line repeats 1 times.
2020-06-04 19:31:41.502 T:2983550240 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
2020-06-04 19:31:41.502 T:2983550240 DEBUG: Previous line repeats 1 times.
2020-06-04 19:31:41.502 T:2983550240 DEBUG: HandleKey: long-0 (0x100f200, obc-16838913) pressed, action is back
2020-06-04 19:31:41.502 T:2983550240 DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
2020-06-04 19:31:41.735 T:2983550240 DEBUG: Keyboard: scancode: 0x00, sym: 0x0000, unicode: 0x0000, modifier: 0x0
2020-06-04 19:31:43.667 T:2983550240 DEBUG: Previous line repeats 1 times.
2020-06-04 19:31:43.667 T:2983550240 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
2020-06-04 19:31:43.667 T:2983550240 DEBUG: Previous line repeats 1 times.
2020-06-04 19:31:43.667 T:2983550240 DEBUG: HandleKey: long-0 (0x100f200, obc-16838913) pressed, action is back
2020-06-04 19:31:43.667 T:2983550240 DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
2020-06-04 19:31:43.900 T:2983550240 DEBUG: Keyboard: scancode: 0x00, sym: 0x0000, unicode: 0x0000, modifier: 0x0
2020-06-04 19:31:44.923 T:2983550240 DEBUG: Previous line repeats 1 times.
2020-06-04 19:31:44.924 T:2983550240 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
2020-06-04 19:31:44.924 T:2983550240 DEBUG: Previous line repeats 1 times.
2020-06-04 19:31:44.924 T:2983550240 DEBUG: HandleKey: long-0 (0x100f200, obc-16838913) pressed, action is back
2020-06-04 19:31:44.924 T:2983550240 DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
2020-06-04 19:31:45.165 T:2983550240 DEBUG: Keyboard: scancode: 0x00, sym: 0x0000, unicode: 0x0000, modifier: 0x0
#These were keys 1, 2, 3, 4, 5 (on remoteĀ“s keypad), and all of their action is "go back"
Code:
#lastly, there are keys that I assigned action to with the help of "keymap editor" add-on, rewind, forward and ACTUAL "go back" key.
2020-06-04 19:35:09.751 T:2963271888 DEBUG: CLibInputKeyboard::ProcessKey - using delay: 500ms repeat: 125ms
2020-06-04 19:35:09.751 T:2693779664 DEBUG: Thread Timer start, auto delete: false
2020-06-04 19:35:09.763 T:2983550240 DEBUG: Keyboard: scancode: 0xa8, sym: 0x00ba, unicode: 0x0000, modifier: 0x0
2020-06-04 19:35:09.763 T:2983550240 DEBUG: HandleKey: rewind (0xf0c4) pressed, action is rewind
2020-06-04 19:35:09.987 T:2693779664 DEBUG: Thread Timer 2693779664 terminating
2020-06-04 19:35:09.993 T:2983550240 DEBUG: Keyboard: scancode: 0xa8, sym: 0x00ba, unicode: 0x0000, modifier: 0x0
2020-06-04 19:35:11.171 T:2963271888 DEBUG: CLibInputKeyboard::ProcessKey - using delay: 500ms repeat: 125ms
2020-06-04 19:35:11.171 T:2693779664 DEBUG: Thread Timer start, auto delete: false
2020-06-04 19:35:11.179 T:2983550240 DEBUG: Keyboard: scancode: 0xd0, sym: 0x00bb, unicode: 0x0000, modifier: 0x0
2020-06-04 19:35:11.180 T:2983550240 DEBUG: HandleKey: fastforward (0xf0c5) pressed, action is fastforward
2020-06-04 19:35:11.411 T:2693779664 DEBUG: Thread Timer 2693779664 terminating
2020-06-04 19:35:11.422 T:2983550240 DEBUG: Keyboard: scancode: 0xd0, sym: 0x00bb, unicode: 0x0000, modifier: 0x0
2020-06-04 19:35:13.487 T:2963271888 DEBUG: CLibInputKeyboard::ProcessKey - using delay: 500ms repeat: 125ms
2020-06-04 19:35:13.487 T:2693779664 DEBUG: Thread Timer start, auto delete: false
2020-06-04 19:35:13.495 T:2983550240 DEBUG: Keyboard: scancode: 0xae, sym: 0x0000, unicode: 0x0000, modifier: 0x0
2020-06-04 19:35:13.495 T:2983550240 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
2020-06-04 19:35:13.495 T:2983550240 DEBUG: Previous line repeats 1 times.
2020-06-04 19:35:13.495 T:2983550240 DEBUG: HandleKey: 0 (0xf200, obc-61697) pressed, action is back
2020-06-04 19:35:13.495 T:2983550240 DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
2020-06-04 19:35:13.727 T:2693779664 DEBUG: Thread Timer 2693779664 terminating
2020-06-04 19:35:13.729 T:2983550240 DEBUG: Keyboard: scancode: 0xae, sym: 0x0000, unicode: 0x0000, modifier: 0x0
So, I supose I could manually map out the keys on my remote using keymap editor addon, for forward and rewind it worked flawlessly, but for key "OK", no matter to what action I assign it, it always does "go back", so it looks like some other keymap catches it earlier, with wrong action. It isnt obvious for me, what map contains mapping for these keys, that all do "go back", and I cant assign otherwise using keymap editor (I can, but it has no effect).
So, do you have any Idea as what to do next? Would it be possible to simply disable all keymaps so only the user defined one is used so there are no conflicts other maps catching keys earlier?