How to figure out VK_ virtual key for a key?

Page 2 of 2 FirstFirst 12

  1. Posts : 1,170
    XP Pro SP3 X86 / Win7 Pro X86
       #11

    MarcG said:
    Sadly it's not that easy. I go into the Keys section, and right there are the commands such as Jump Forward etc.. My problem is I don't know what to enter for the key assignments because apparently there are no VK_ names for the two keys I'd like to use, and I don't see any way to enter the key codes (176 and 177) I got from that utility in that Keys screen. Entering the hex equivalents as ASCII didn't work, nor did using the two OEM_ suggestions .
    if you click in the KEY column, it should produce a pulldown from which you have all 255 posible keys listed. Just select the keys you need... I already gave you the names that correspond with the values you need... so...
      My Computer


  2. Posts : 30
    Windows 7 RTM x64 (desktop), x32 (HTPC)
    Thread Starter
       #12

    SOLVED


    OK, got it sorted!

    Thanks for trying to help with the key stuff. Turns out none of those key codes work in terms of assigning them in the Key section, but what works is to assign an App Command to the Jump Forward/Backward command I wish. Those keys trigger a Media_NextTrack or Media_PreviousTrack event. Assigning those app command events to the desired Jump command makes it work out just fine.

    I figured it out by looking into what things caused a Next/Previous chapter skip event; after clearing all the keys that cause it, and noticing that the two keys I'm interested in STILL caused those events, I looked into the app commands and found the Media_NextTrack/PreviousTrack things. Clearing them out from the chapter skip thing and assigning them to JumpForward (Large) and JumpBackward(medium) gives me what I wanted.

    Yea!

    Marc
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:10.
Find Us