Keyboard problem
#1
I have a problem with delete and backspace keys.

In Windows I get this for the delete and backspace key.

18:54:22 T:3376 DEBUG: Keyboard: scancode: 0x53, sym: 0x007f, unicode: 0x0000, modifier: 0x0
18:54:22 T:3376 DEBUG: CInputManager::OnKey: delete (0xf087) pressed, action is Delete

18:54:27 T:3376 DEBUG: Keyboard: scancode: 0x0e, sym: 0x0008, unicode: 0x0008, modifier: 0x0
18:54:27 T:3376 DEBUG: CInputManager::OnKey: backspace (0xf008) pressed, action is Back

On the Pi3 I get this for the delete and backspace key.

19:02:52 110531.429688 T:1961545728 DEBUG: Keyboard: scancode: 0x6f, sym: 0x0008, unicode: 0x0008, modifier: 0x0
19:02:52 110531.640625 T:1961545728 DEBUG: OnKey: backspace (0xf008) pressed, action is Back

19:03:28 110567.406250 T:1961545728 DEBUG: Keyboard: scancode: 0x0e, sym: 0x0008, unicode: 0x0008, modifier: 0x0
19:03:28 110567.492188 T:1961545728 DEBUG: OnKey: backspace (0xf008) pressed, action is Back

On the Pi3 both keys is treated as backspace. I have checked the settings in Kodi on both Pi3 and Windows and both have same character set and keyboard layout. And both uses the same keybord.xml file.

This is the version I'm using on Pi3.

22:41:46 6.487148 T:1961545728 NOTICE: Starting Kodi (17.0-ALPHA1 Git:654f233). Platform: Linux ARM 32-bit
22:41:46 6.487183 T:1961545728 NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
22:41:46 6.487220 T:1961545728 NOTICE: Kodi compiled Apr 7 2016 by GCC 5.3.0 for Linux ARM 32-bit version 4.4.6 (263174)
22:41:46 6.487509 T:1961545728 NOTICE: Running on OpenELEC (Milhouse) - Version: devel-20160407214033-#0407-g0026734 [Build #0407] 8.0, kernel: Linux ARM 32-bit version 4.4.6
Reply
#2
I would suggest to look at: http://kodi.wiki/view/Keymap
Reply
#3
(2016-04-09, 20:07)David1977 Wrote: I would suggest to look at: http://kodi.wiki/view/Keymap

Could you also suggest what I should look for there? I mentioned that both the Windows computer and the Pi3 uses the same keyboard.xml file, so I don't know what to look for on that page.
Reply
#4
you would have known yourself, if you ever had looked at that page Wink

Some keys can be "mapped" to different usages. So you could map your key to a different one or check if any keymap is present and maybe change that. It's all in that wiki

There is also a keymap editor add-on you could use
Reply
#5
(2016-04-09, 21:33)David1977 Wrote: you would have known yourself, if you ever had looked at that page Wink

Some keys can be "mapped" to different usages. So you could map your key to a different one or check if any keymap is present and maybe change that. It's all in that wiki

There is also a keymap editor add-on you could use

Yes, but I'm using the exactly same keymap on both the Windows computer and on the Pi3, as I explained. So then I don't understand reading that page how it could help me?
Shouldn't the same keymap result in the same actions even if it is on two different computers? I must be missing something here.
Reply
#6
Are you using a v17 build on Windows? IIRC, the keymap changed in v17 for "back" to always be "back".
Reply
#7
(2016-04-09, 23:21)Ned Scott Wrote: Are you using a v17 build on Windows? IIRC, the keymap changed in v17 for "back" to always be "back".

I'm using v16 on Windows. If I try to install v17 I get a python27.dll error and it wont start.
What does "back to always be back" mean? I cant map/use the delete key anymore?

Looking at the log it seems to me that Kodi registers that two different buttons is pressed on the Pi3(v17), but uses the same action on both.

But this could be a difference between v16 and v17 and is by design?
Reply
#8
Maybe we don´t understand each other Wink....

you said:

Quote:And both uses the same keybord.xml file.

then you said:

Quote:Yes, but I'm using the exactly same keymap on both the Windows computer and on the Pi3, as I explained.

you never mentioned you use the same keymap.xml.

keyboard.xml and keymap.xml is a bit different. Except you meant keymap.xml as you said "keyboard.xml".
Reply
#9
(2016-04-11, 11:07)David1977 Wrote: Maybe we don´t understand each other Wink....

you said:

Quote:And both uses the same keybord.xml file.

then you said:

Quote:Yes, but I'm using the exactly same keymap on both the Windows computer and on the Pi3, as I explained.

you never mentioned you use the same keymap.xml.

keyboard.xml and keymap.xml is a bit different. Except you meant keymap.xml as you said "keyboard.xml".

The default keymap file for a keyboard is called keyboard.xml. I copied it from the Kodi installation folder and used that as a starting point when I made changes for my own needs. So maybe it was a little misunderstanding since I thought that was the right thing to call it?
Reply

Logout Mark Read Team Forum Stats Members Help
Keyboard problem0