Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

Zalman HD160 (IRTrans) Volume Knob -> GotoScreen()

General discussion about LCD Smartie.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351

Post Reply
Infra
Posts: 2
Joined: August 30th, 2008, 12:51 am

Zalman HD160 (IRTrans) Volume Knob -> GotoScreen()

Post by Infra »

Hey all,
What I'm trying to do is use the volume knob on my IRTrans VFD toggle a GotoScreen(). This will have LCDSmartie switch to a display of the system volume when the volume knob is used.

How would I go about doing this?

I've thought of having global hot-keys setup that takes the IRTrans (through ir2keyboard.exe) keyboard shortcut and switches the screen within LCDSmartie (don't know how though).

Any other suggestions/possible solutions would be appreciated.
Infra
Posts: 2
Joined: August 30th, 2008, 12:51 am

Post by Infra »

After some more searching I answered myself:
  • 1. Map Volume Knob to volume up and down keys with ir2keyboard:
    • a. Up = VK_175
      b. Down = VK_174
    2. Add what you want to display when volume is changed(I used a bar graph and the volume plugin) to a screen (lets say screen 5):

    Code: Select all

    Volume
    $Bar($dll(volume,3,,),100,16)
    
    3. Add an action to the actions tab:

    Code: Select all

    $dll(volume,5,1,1) ; > ; 1 ; GotoScreen(5)
Post Reply