Need to have the numeric Keypad arrow keys to work

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Milleman Offline
Member
Posts: 93
Joined: Jun 2007
Reputation: 13
Post: #1
Hi,
I'm using the XBMC for windows.

Is there any way to make the arrow keys at the numeric keypad (on the PC keyboard) to work with the XBMC user interface? It doesn't matter if the num lock is turned on or off. XBMC doesn't accept those arrow keys in any way. I need to use those, since my remote control driver is sending the key pad arrow keys to the user interface.

I also tried the XBMC key mapping file, in order to change the arrow keys into something else. But that doesn't work. XBMC is only accepting the "genuine" separate arrow keys for navigating the user interface.

Any clues on how to solve this problem?
find quote
SlaveUnit Offline
Posting Freak
Posts: 1,736
Joined: Oct 2008
Reputation: 14
Location: San Diego
Post: #2
In the C:\Program Files\XBMC\system\keymap.xml go to the <keyboard> section. Change as follows:

<zero>Number0</zero>
<one>Number1</one>
<two>Down</two>
<three>Number3</three>
<four>Left</four>
<five>Number5</five>
<six>Right</six>
<seven>Number7</seven>
<eight>Up</eight>
<nine>Number9</nine>
find quote
Milleman Offline
Member
Posts: 93
Joined: Jun 2007
Reputation: 13
Post: #3
Thanks for the suggestion, Slaveunit.

But that didn't work. I still can't navigate using the arrowkeys on the numeric keyboard. Did you manage to make it work?

Somehow it looks like a bug. The "Up", "Down", "Left", "Right" can not be tied to any other keys than the separate dedicated arrowkeys on the keyboard. Tie those to any other keyboard keys (including the numeric keyboard arrows), and the navigation doesn't work.

This works:

<up>Up</up>
<down>Down</down>
<left>Left</left>
<right>Right</right>

This doesn't work:

<eight>Up</eight>
<two>Down</two>
<four>Left</four>
<six>Right</six>
(or any other mapping)

Need help from more users that can confirm this issue, so I can post a bug report.

.
(This post was last modified: 2009-02-05 20:16 by Milleman.)
find quote
SlaveUnit Offline
Posting Freak
Posts: 1,736
Joined: Oct 2008
Reputation: 14
Location: San Diego
Post: #4
Yhea it works fine for me. I tested before I posted. You sure you are putting it into the correct par within keymap.xml?
find quote
Milleman Offline
Member
Posts: 93
Joined: Jun 2007
Reputation: 13
Smile    Post: #5
Can you please post your "keymap.xml" file here?
What version av XBMC for Windows are you using?
find quote
SlaveUnit Offline
Posting Freak
Posts: 1,736
Joined: Oct 2008
Reputation: 14
Location: San Diego
Post: #6
This should work on all versions. Its nothing special.
I have SVN 17574
Here is a keymap with te adjustments
http://www.megaupload.com/?d=PZ5RTANF
find quote
Milleman Offline
Member
Posts: 93
Joined: Jun 2007
Reputation: 13
Post: #7
Thank you, SlaveUnit!
Your file worked better than mine! SmileSmileSmile
It's little bit strange, since I changed the mapping exactly at the same spots as you had.
Anyway... Now I got my remote control fully up and running with the XMBC!

But there's still peculiarities regarding the real arrow keys (on the PC keyboard) and the numeric arrow keys. If you play a movie, you can skip back and forth in time by using the real arrow keys. If you are using the numeric arrow keys, nothing happens. Even if they are mapped as "Up, Down, Left, Right". Do you get the same result as me on that one?

And... I wished I could use the arrow keys on the XBMC On Screen Keyboard. For example: If I want to rename files or add a new source under the "Video" section and then get the textline to enter the path, I can use the mouse and click the On Screen Keyboard. That should also be usable by the arrow keys and the select button. Just like in the XBMC for XBOX. Then I don't have to use a keyboard. Don't know why this isn't implented in XBMC for Windows.

Once again... Many thanks for the file!
find quote
toiva Offline
Posting Freak
Posts: 817
Joined: Aug 2008
Reputation: 14
Post: #8
Try adding this to your advancedsetting.xml

Quote:<navigatevirtualkeyboard>true</navigatevirtualkeyboard> <!-- This will activate virtual keyboard navigation, default is false -->

I tried this yesterday and it seems to be working. This is supposed to be only a workaround, i don't know if there are any side effects.
find quote
SlaveUnit Offline
Posting Freak
Posts: 1,736
Joined: Oct 2008
Reputation: 14
Location: San Diego
Post: #9
Milleman
Once you start a video the keymap reads from a different part of the full. That part is called FULLSCREEN. So in there you would have to add something simliar to the keyboard section. Add this to that section:

<four>StepBack</four>
<six>StepForward</six>
<eight>BigStepForward</eight>
<two>BigStepBack</two>

It works. If you need me to send another keymap file I can. But try this yourself first.
(This post was last modified: 2009-02-06 19:35 by SlaveUnit.)
find quote
Milleman Offline
Member
Posts: 93
Joined: Jun 2007
Reputation: 13
Post: #10
SlaveUnit, thanks again!
That worked like a charm. Great! Big Grin

toiva:
As I couldn't find the file "advancedsetting.xml" anywhere in the XBMC folders, I created a new one in the "systems" folder and also pasted that line of yours into it. No luck. Didn't work. Nothing happens on the OSK when pressing the arrow keys. Tried both the real arrow keys and the ones at the numpad... Sad

I would really love to have that working as well.

/Mill
(This post was last modified: 2009-02-06 20:37 by Milleman.)
find quote
Post Reply