INTERACT FORUM

Please login or register.

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

Author Topic: Program Keyboard for media button functions?  (Read 443 times)

wig

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 750
Program Keyboard for media button functions?
« on: September 23, 2018, 08:52:55 am »

My new keyboard for my Win10 PC doesn't have media buttons, which I'm realizing was a serious oversight on my part.

It does have programmable keys. Can I program keys to emulate the media button controls (Vol up, Vol down, pause, previous, next) so that I can control JRiver while another program is active?

To be clear, programming for ctrl + +, ctrl + -, etc, doesn't work when JRiver isn't the active program.
Logged

MaxA

  • Junior Woodchuck
  • **
  • Posts: 68
Re: Program Keyboard for media button fuctions?
« Reply #1 on: September 23, 2018, 08:59:23 am »

My new keyboard doesn't have media buttons, which I'm realizing was a serious oversight on my part.

It does have programmable keys. Can I program keys to emulate the media button controls (Vol up, Vol down, pause, previous, next) so that I can control JRiver while another program is active?
Yes, you can assign custom global key in [Program]\Data\Custom Resources\Resource.xml

My example for the similar situation:

Code: [Select]
    <!-- Volume control -->
    <Entry Key="Ctrl;Shift;+" Text="Volume Up" Command="10018" Param="1" Global="1" />
    <Entry Key="Ctrl;Shift;-" Text="Volume Down" Command="10019" Param="1" Global="1" />
   
    <!-- Playback -->
    <Entry Command="10000" Text="Play/Pause"  Key="Ctrl;Shift;Insert" Global="1" />
    <Entry Command="10000" Text="Play/Pause"  Key="Ctrl;Shift;0" Global="1" />
    <Entry Command="10002" Text="Stop" Key="Ctrl;Shift;Forwardslash"  Global="1" />
    <Entry Command="10002" Text="Stop" Key="Ctrl;Shift;Multiply"  Global="1" />
Logged
Pages: [1]   Go Up