NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC X-NEWA v
« Previous 1 2 3 4 5 … 13 Next »
Knewc not handling certain buttons on the Hauppauge remote

 
  • 0 Vote(s) - 0 Average
Knewc not handling certain buttons on the Hauppauge remote
ElihuRozen
Offline

Senior Member

Massachusetts, USA
Posts: 514
Threads: 51
Joined: Apr 2006
#1
2019-11-29, 01:02 AM
I have knewc autostart when I start kodi.  I have knewc use the Client UI, or is it now called Remote UI, so I get the same NPVR experience as on the server.  For the linked log file, I restarted Kodi & waited for NPVR to come up.  I pressed the following buttons on my remote: Right, Left, Blue, Back, Yellow, Back, Green, Back, Red, Back, Guide, TV, Videos, Music, Pictures, Radio, OK (at this point, I was in Kodi & navigated to the Log Uploader.)  When I pressed the color keys, it took me to Kodi screens for Videos, Pictures, Music, etc.  When I pressed the keys that are supposed to take me to specific NPVR screens, it did nothing.  I know that I can press the Menu button and use Martin's menus to get the color keys or go directly to Recordings & that works, but I would like to be able to use the ones on my remote.  Link to log file: https://paste.kodi.tv/tegufehufe  (Search for the string "devinput" in the log to find the key presses.  The fourth instance is where I pressed Right.)
[url=https://paste.kodi.tv/tegufehufe][/url]
Contents of my key mapping file, named Hauppauge:
Code:
# table Hauppauge, type: RC-5
0x1e01 KEY_1
0x1e02 KEY_2
0x1e03 KEY_3
0x1e04 KEY_4
0x1e05 KEY_5
0x1e06 KEY_6
0x1e07 KEY_7
0x1e08 KEY_8
0x1e09 KEY_9
0x1e00 KEY_0
0x1e0d KEY_MENU
0x1e20 KEY_CHANNELUP
0x1e21 KEY_CHANNELDOWN
0x1e10 KEY_VOLUMEUP
0x1e11 KEY_VOLUMEDOWN
0x1e3b KEY_HOME # Go
0x1e17 KEY_RIGHT
0x1e16 KEY_LEFT
0x1e14 KEY_UP
0x1e15 KEY_DOWN
0x1e25 KEY_ENTER
0x1e0f KEY_MUTE
0x1e1f KEY_BACK
0x1e0d KEY_INFO
0x1e36 KEY_STOP
0x1e24 KEY_PREVIOUSSONG
0x1e1e KEY_NEXTSONG
0x1e3d KEY_POWER
0x1e32 KEY_REWIND
0x1e34 KEY_FASTFORWARD
0x1e30 KEY_PLAYPAUSE
0x1e35 KEY_PLAY
0x1e1b KEY_F1 # Guide
0x1e0c KEY_F6 # Radio
0x1e1c KEY_F2 # TV
0x1e18 KEY_F3 # Video
0x1e19 KEY_F4 # Music
0x1e1a KEY_F5 # Pictures
0x1e37 KEY_RECORD
0x1e0b KEY_RED
0x1e2e KEY_GREEN
0x1e38 KEY_YELLOW
0x1e29 KEY_BLUE
0x1e0e KEY_SUBTITLE      # subtitle
0x1e0a KEY_TEXT # BROWSER
Tuners: SD HDHR Prime (HDHR3-CC). SD HDHR Connect Quatro Tuner (HDHR5-4US) - only QAM.  EXVIST H.265 Encoder - capturing cable box.
Client: Odroid-N2 running knewc on KODI - connected via MoCA.
EPG: SchedulesDirect
Provider: Verizon Fios
Server: Dell XPS 8700 with Windows 10
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#2
2019-11-29, 01:19 AM
Going to those functions is how the global keys are defined. https://github.com/xbmc/xbmc/blob/master...remote.xml but I would have thought the Addon group would have overwritten them. Check to see what the coreelect on looks like in special://xbmc/system/keymaps/remote.xml It should somewhere under /storage/.kodi/userdata/

Martin
ElihuRozen
Offline

Senior Member

Massachusetts, USA
Posts: 514
Threads: 51
Joined: Apr 2006
#3
2019-11-30, 04:44 PM
(2019-11-29, 01:19 AM)mvallevand Wrote: Going to those functions is how the global keys are defined. https://github.com/xbmc/xbmc/blob/master...remote.xml  but I would have thought the Addon group would have overwritten them.  Check to see what the coreelect on looks like in  special://xbmc/system/keymaps/remote.xml  It should somewhere under /storage/.kodi/userdata/

Martin

What I did to resolve it, based on Martin's advise:

cp /usr/share/kodi/system/keymaps/remote.xml /storage/.kodi/userdata/keymaps/remote.xml
cp /usr/share/kodi/system/Lircmap.xml /storage/.kodi/userdata/Lircmap.xml

Edit the new copies in userdata:

Lircmap.xml - added these in the devinput section:

Code:
<guide>KEY_F1</guide>
  <livetv>KEY_F2</livetv>
  <myvideo>KEY_F3</myvideo>
  <mymusic>KEY_F4</mymusic>
  <mypictures>KEY_F5</mypictures>
  <liveradio>KEY_F6</liveradio>


remote.xml - changed the following:
From:

Code:
<myvideo>ActivateWindow(Videos)</myvideo>
      <mymusic>ActivateWindow(Music)</mymusic>
      <mypictures>ActivateWindow(Pictures)</mypictures>
 ...
      <guide>ActivateWindow(TVGuide)</guide>
      <livetv>ActivateWindow(TVChannels)</livetv>
      <liveradio>ActivateWindow(RadioChannels)</liveradio>
      <recordedtv>ActivateWindow(TVRecordings)</recordedtv>
 ...
      <red>ActivateWindow(TVChannels)</red>
      <green>ActivateWindow(Videos)</green>
      <yellow>ActivateWindow(Music)</yellow>
      <blue>ActivateWindow(Pictures)</blue>

To:

Code:
<myvideo>ActivateWindow(AddOn, Videos)</myvideo>
      <mymusic>ActivateWindow(AddOn, Music)</mymusic>
      <mypictures>ActivateWindow(AddOn, Pictures)</mypictures>
 ...
      <guide>ActivateWindow(AddOn, TV Listings)</guide>
 ...
      <liveradio>ActivateWindow(AddOn, TV Recordings)</liveradio>
      <recordedtv>ActivateWindow(Weather)</recordedtv>
 ...
      <red>Red</red>
      <green>Green</green>
      <yellow>Yellow</yellow>
      <blue>Blue</blue>

Note that I use TV Listings and TV Recordings instead of TV Guide and Recordings, respectively.  Also, the directory structure is for CoreElec, it might be different for others.
Tuners: SD HDHR Prime (HDHR3-CC). SD HDHR Connect Quatro Tuner (HDHR5-4US) - only QAM.  EXVIST H.265 Encoder - capturing cable box.
Client: Odroid-N2 running knewc on KODI - connected via MoCA.
EPG: SchedulesDirect
Provider: Verizon Fios
Server: Dell XPS 8700 with Windows 10
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#4
2019-11-30, 05:42 PM
Ok now i understand what you were trying to achieve. After changing lircd to the functions keys, I don't think you needed to change ActivateWindows since the FN key is what get passed to NextPVR.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Unclear how to install knewc and use it in Kodi smbunn 2 1,277 2023-05-02, 01:12 PM
Last Post: mvallevand
  knewc 2.10.0 release mvallevand 0 1,317 2022-05-31, 08:30 PM
Last Post: mvallevand
  Menu list skip using MCE remote no longer works jcjefferies 2 1,486 2022-02-13, 06:16 PM
Last Post: jcjefferies
  knewc 2.9.5 release mvallevand 22 5,812 2022-02-01, 03:07 PM
Last Post: mvallevand
  knewc Timeout Starting Recording Playback BrettB 1 1,569 2021-10-21, 03:02 PM
Last Post: mvallevand
  Kodi 19 Matrix - knewc is Uninstalled after Modification meccano 2 2,634 2021-04-12, 03:08 PM
Last Post: meccano
  knewc 2.9.3 Update mvallevand 0 1,735 2021-03-08, 04:53 PM
Last Post: mvallevand
  kodi/knewc crashing baj1 12 4,121 2021-01-23, 07:05 PM
Last Post: baj1
  knewc 2.9.1 Update mvallevand 22 7,449 2021-01-18, 06:22 AM
Last Post: baj1
  knewc problems with new server patch BrettB 7 3,453 2021-01-07, 02:45 PM
Last Post: BrettB

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode