NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Hardware v
« Previous 1 2 3 4 5 … 263 Next »
Ctrl and Alt ignored from remote

 
  • 0 Vote(s) - 0 Average
Ctrl and Alt ignored from remote
ElihuRozen
Offline

Senior Member

Massachusetts, USA
Posts: 514
Threads: 51
Joined: Apr 2006
#1
2021-11-27, 05:34 PM
I have used IRSS for many years to control NextPVR.  I configure it to allow me to send key codes even if NextPVR doesn't have focus.  The IRSS tool for sending keystrokes is Translator.  If NPVR v4, I used Windows messages by sending to Class WindowsForms10.Window.8.app.0.141b42a_r11_ad1.  I would send message 32775 and the keystroke.  When I upgraded to NPVR v5, that did not work.  The Class had changed to WindowsForms10.Window.8.app.0.141b42a_r12_ad1, but Translator gets a permissions error.  If I run it as Administrator, I do not get the error, but the message is ignored.  I figure the message ID has changed, but I don't know how to figure out what it should be.  So, I wrote an AutoIT3 script to send keystrokes to that class & configured Translator to use that.  When I first upgraded to v5, I noticed that Ctrl and Alt were ignored.  Basically, if I hit Skip, that sends Ctrl + {RIGHT}, but NPVR treats it as though I had sent just {RIGHT}.  I played around and determined that if NPVR did not have focus, it would handle the key strokes correctly.  So, I would start NPVR, click on something running on the other monitor and everything would work.  For the last couple of releases, that work around no longer works.  If I test my script with Notepad, it does respond to the Ctrl keys, so I know it is still sending it correctly. 

I restarted the NPVR service, used the remote to start NPVR, went into TV Guide, hit Skip twice and captured the logs.

This is using the client on the server, which I usually don't use.  Most of the time I use the client listed below on a different TV.
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
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#2
2021-11-27, 06:43 PM
There was an old method for sending keystrokes to NextPVR v4, for historic MVP support, which was done using windows message 0x8007 (32775). There hasn't been equivalent in NextPVR v5. I've added the few lines of code for that back in for the next release.

In reality, you'd be better off just sending regular key strokes if IRSS will let you do that. NextPVR isn't doing anything special for keyboard handling (including ctrl/alt/shift keys). It's just receiving keypresses the normal way (WM_KEYDOWN). Maybe IRSS will let you fake WM_KEYDOWN messages.
ElihuRozen
Offline

Senior Member

Massachusetts, USA
Posts: 514
Threads: 51
Joined: Apr 2006
#3
2021-12-01, 02:28 AM
I saw you had posted a NextPVR.exe and NextPVRUI.dll to fix some other issue. I downloaded them, replaced the appropriate ones in my directory, reconfigured Translator (IRSS) to use Windows Messages and now all the keys on my remote are working.

Thanks.
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
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#4
2021-12-01, 03:08 AM
Great.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Remote Control Recommendations NumberFive 0 1,390 2020-12-24, 07:27 PM
Last Post: NumberFive
  MCE remote giving double press mail@cravenplan.co.uk 2 2,729 2020-01-25, 03:51 AM
Last Post: dsreyn
  Control via TV Remote (Pulse-Eight CEC) W3bbo 3 3,019 2019-12-06, 06:32 PM
Last Post: sub
  Info (and Blue) button on Sony Bravia Android TV Remote? jksmurf 18 7,029 2019-03-02, 10:03 PM
Last Post: mvallevand
  IR Remote - must be a simple solution overlooking acemib 5 2,829 2018-09-14, 06:20 AM
Last Post: sub
  USB IR Receiver for Harmony Remote SNielson 1 2,131 2018-04-23, 09:33 AM
Last Post: Graham
  MCE Remote, hauppauge hd-pvr 1212, windows 10 and cable box issues astrothug 2 3,012 2018-03-18, 10:57 PM
Last Post: astrothug
  IR Remote that works with NextPVR Gerryex3 32 18,129 2016-02-29, 02:25 AM
Last Post: ACTCMS
  Migrating to NextPvr from WMC and dealing with Hauppage (MCE) Remote Issues Bitswap 2 3,454 2015-07-26, 11:05 AM
Last Post: Graham
  NUC remote solutions SickBoy 4 3,977 2014-12-03, 01:44 AM
Last Post: mikeh49

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

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

Linear Mode
Threaded Mode