INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Improved IR Remote support  (Read 1578 times)

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1304
Improved IR Remote support
« on: January 26, 2019, 08:58:11 am »

Right now MC only sees/recognizes a fixed number of "standard WMC" IR signals. It would be so helpful if you could enable MC to see/recognize ALL infrared signals coming into the PC. Those extra signals could be used for LEARNING any of MC's MCC core commands, making the IR remote 100x more powerful and thus MC way easier to use on a big screen.
Logged
JRiverMC v32 •Windows 10 Pro 64bit •Defender Exclusions •ṈŘ 3rd party AV
•ASUS TUF gaming WiFi z590 •Thermaltake Toughpower GX2 600W
•i7-11700k @ 3.6GHz~5GHz •32GB PC4-25600 DDR4
•OS on Crucial P5 Plus M.2 PCIe Gen4 •Tv Recordings on SATA 6TB WD Red Pro
•4 OTA & 6 CableCard SiliconDust Tuners
•nVidia RTX2060 •XBR65Z9D •AVRX3700H •Fluance 7.2.2 [FH]
•SMP1000DSPѫeD A3-300[RSS315HE-22] •SPA300DѫYSTSW215[15-PRX8S4]

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10710
Re: Improved IR Remote support
« Reply #1 on: January 26, 2019, 09:38:11 am »

Right now MC only sees/recognizes a fixed number of "standard WMC" IR signals. It would be so helpful if you could enable MC to see/recognize ALL infrared signals coming into the PC. Those extra signals could be used for LEARNING any of MC's MCC core commands, making the IR remote 100x more powerful and thus MC way easier to use on a big screen.

This should already be possible.
Go to Options -> Remote Control, Click on Devices & Options, and in the Device dropdown enable "Remote, keyboard, gamepad or other HID", this should allow MC to learn all sorts of input commands an IR receiver sends.
Logged
~ nevcairiel
~ Author of LAV Filters

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1304
Re: Improved IR Remote support
« Reply #2 on: January 26, 2019, 10:06:56 am »

This should already be possible.
Go to Options -> Remote Control, Click on Devices & Options, and in the Device dropdown enable "Remote, keyboard, gamepad or other HID", this should allow MC to learn all sorts of input commands an IR receiver sends.

I'll try again but this topic has been discussed and verified not working by RoderickGI.
When pressing other buttons on the remote, I can verify the PC is seeing those commands by using a utility called SHOWKEY, yet MC does NOT see them when I go to the LEARNING setup in MC.
Logged
JRiverMC v32 •Windows 10 Pro 64bit •Defender Exclusions •ṈŘ 3rd party AV
•ASUS TUF gaming WiFi z590 •Thermaltake Toughpower GX2 600W
•i7-11700k @ 3.6GHz~5GHz •32GB PC4-25600 DDR4
•OS on Crucial P5 Plus M.2 PCIe Gen4 •Tv Recordings on SATA 6TB WD Red Pro
•4 OTA & 6 CableCard SiliconDust Tuners
•nVidia RTX2060 •XBR65Z9D •AVRX3700H •Fluance 7.2.2 [FH]
•SMP1000DSPѫeD A3-300[RSS315HE-22] •SPA300DѫYSTSW215[15-PRX8S4]

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10710
Re: Improved IR Remote support
« Reply #3 on: January 26, 2019, 10:30:05 am »

If an application like ShowKey can show it, then to the PC its not an IR command, but the driver for your IR receiver translates it into an ordinary key stroke.
There is a lot of IR receivers that do such things, IR commands are mapped to fixed keystrokes, and from an applications perspective you cannot really tell its an IR command anylonger, which is why the Learning function doesn't work.

Perhaps we can use the Learning function to also allow accepting ordinary keyboard input, but not sure what fallout that might cause.

A bunch of other IR receivers don't work with the Microsoft HID (Human Interface Device) API at all, and you have to specifically support them to get all keys, those are also very annoying.

Assuming it is a HID device, it might also help to double check which device ID it uses, in case thats one we don't handle. You can see that by looking for its entry in the Windows Device Manager, finding its entry under "Human Interface Devices", and copying the data under Details -> Hardware Ids. Unfortunately many devices don't name themself properly, so it can be a bit hard to actually find it. :(
Logged
~ nevcairiel
~ Author of LAV Filters

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Improved IR Remote support
« Reply #4 on: January 26, 2019, 05:32:17 pm »

Thanks for the information on Showkey Hendrik.

Do you know of any Windows software we can use to confirm that an IR command is being received, and would be seen by MC in the learning function? It has been on my ToDo list for some time to try to work out what is going on with non-MCE IR commands on MC, but I haven't gotten to it yet. The only way I know to move forward is to shut down MC and run another App that would see the commands, and perhaps deduce something from that.

I'll have to look up my IR Receiver's Device ID later, but it is an Inteset receiver designed for use with MCE remotes and WMC. It should be receiving all commands I send to it from my Harmony remote, including Extended MCE commands, many of which are key combinations, but I don't know what it does with them. i.e. Whether it converts them to a keystroke.

BTW, if an IR Receiver converts received commands to a keystroke, that would be just fine. I could then set up the appropriate keyboard shortcut in resource.xml and link them to the commands I want to use. The problem until now has been that the IR Command just disappears.

Of course many apps exposed the underlying IR Code being received, and it is mostly good that MC hides that from users. But it makes fixing IR, and confirming what is happening, almost impossible.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner
Pages: [1]   Go Up