unlight
1
Hi,
I´m trying to add a new command to the keymap.xml as my number buttons dont work by default.
in the log I get events like this:
15:53:23 T:3046182912 DEBUG: LIRC: Update - NEW at 45304:202 0 KEY_NUMERIC_2 devinput (KEY_NUMERIC_2)
15:53:23 T:3046182912 DEBUG: LIRC: Update - NEW at 45370:202 0 KEY_NUMERIC_2_UP devinput (KEY_NUMERIC_2_UP)
15:53:23 T:3046182912 DEBUG: LIRC: Update - NEW at 45767:202 0 KEY_NUMERIC_2 devinput (KEY_NUMERIC_2)
15:53:23 T:3046182912 DEBUG: LIRC: Update - NEW at 45834:202 0 KEY_NUMERIC_2_UP devinput (KEY_NUMERIC_2_UP)
15:53:24 T:3046182912 DEBUG: LIRC: Update - NEW at 46230:202 0 KEY_NUMERIC_2 devinput (KEY_NUMERIC_2)
15:53:24 T:3046182912 DEBUG: LIRC: Update - NEW at 46296:202 0 KEY_NUMERIC_2_UP devinput (KEY_NUMERIC_2_UP)
15:53:24 T:3046182912 DEBUG: LIRC: Update - NEW at 46891:205 0 KEY_NUMERIC_5 devinput (KEY_NUMERIC_5)
15:53:24 T:3046182912 DEBUG: LIRC: Update - NEW at 46958:205 0 KEY_NUMERIC_5_UP devinput (KEY_NUMERIC_5_UP)
15:53:25 T:3046182912 DEBUG: LIRC: Update - NEW at 47287:205 0 KEY_NUMERIC_5 devinput (KEY_NUMERIC_5)
15:53:25 T:3046182912 DEBUG: LIRC: Update - NEW at 47354:205 0 KEY_NUMERIC_5_UP devinput (KEY_NUMERIC_5_UP)
15:53:25 T:3046182912 DEBUG: LIRC: Update - NEW at 47684:205 0 KEY_NUMERIC_5 devinput (KEY_NUMERIC_5)
Now I tried something like:
.....
StepBack
StepForward
BigStepForward
BigStepBack
PreviousMenu
OSD
OSD
OSD
CodecInfo
Info
XBMC.ActivateWindow(PVROSDGuide)
XBMC.ActivateWindow(Teletext)
NextSubtitle
NextSubtitle
AudioNextLanguage
Playlist
AudioNextLanguage
SkipNext
SkipPrevious
Number1
Number2
Number3
Number4
.....
but this doesn´t seem to work.
Anyone mastered this?
Thanks in advance
Unlight
system
2
Hi,
I´m trying to add a new command to the keymap.xml as my number buttons dont work by default.
............
Anyone mastered this?
Thanks in advance
Unlight
Try looking at this thread in the Rasplex Forums (I did a search, did you?):
https://forums.plex.tv/topic/94487-cec-remote-keys-mapping/?hl=keymaps#entry553272
Regards
unlight
3
I did a search, did you?
Yeah, I did; read this thread and every other thread concerning remote stuff.
The Problem is that I don´t try to remap a button, I already did that and it worked.
The known buttons get recognized in the log as:
15:53:15 T:3046182912 DEBUG: OnKey: leftshift (d2) pressed, action is PageUp
I have the numeric buttons that show up like this:
15:53:16 T:3046182912 DEBUG: LIRC: Update - NEW at 38651:192 0 KEY_CHANNELUP_UP devinput (KEY_CHANNELUP_UP)
I already looked up some LIRC instructions, but as I´m new to the IR stuff I don´t quite get it.
I thought there might have been someone with the same problem who could simply tell me the synthax.
If thats not the case and the problem is somewhat more complicated I´m sorry for the question; I´ll have to dive deeper into the LIRC Stuff.
Thanks
Unlight
unlight
4
I finally got it to work, maybe someone else could use the info too:
The trick is to map the unkonown keys in a Lircmap.xml in the userdata folder with content like this:
KEY_NUMERIC_1
KEY_NUMERIC_2
KEY_NUMERIC_3
KEY_NUMERIC_4
KEY_NUMERIC_5
KEY_NUMERIC_6
KEY_NUMERIC_7
KEY_NUMERIC_8
KEY_NUMERIC_9
KEY_NUMERIC_0
where is the key in the keymap.xml and KEY_NUMERIC_0 is the recognized command from the log.
One other thing; my IR Remote sends single commands for the volume, the buttons for channelup and down send repeated commands.
If you change the two assignments you can adjust volume with a long press on the channelbuttons.
Hope this helps,
Unlight
system
Closed
5
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.