Posts: 33
Joined: Apr 2013
Reputation:
0
YARD2
Junior Member
Posts: 33
2015-04-18, 17:04
(This post was last modified: 2015-04-18, 17:23 by YARD2.)
Hello,
I designed a IR-HW and a Linux SW for IR remote controls.
This SW creates a virtual keyboard and send keyboard commands to the system / Kodi.
I take the keyboard IDs and names from input.h
Standard key are working like:
KEY_UP
KEY_DOWN
...
Some of the keys does not work.
e.g.
KEY_STOP
KEY_RED
KEY_GREEN
KEY_YELLOW
KEY_BLUE
Is this normal or did I something wrong ?
Regards
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
Some keys may be intercepted by the OS?
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 33
Joined: Apr 2013
Reputation:
0
YARD2
Junior Member
Posts: 33
2015-04-19, 10:34
(This post was last modified: 2015-04-19, 11:38 by YARD2.)
I made some more tests.
With evtest I see all KEY commands, but with xev I do not see them.
What is the difference ?
It looks like the xev and Kodi does not respond to KeyCodes > 255.
But I have no idea why.
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
I have seen that described before (ie >255).
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 33
Joined: Apr 2013
Reputation:
0
YARD2
Junior Member
Posts: 33
Any idea for a workaround or fix ?
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
Not off the top of my head, nor do I have time to search right now sorry.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)