1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

KEYINFO::nKey?

Discussion in 'Plugins' started by vefatica, May 17, 2010.

  1. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,788
    Likes Received:
    29
    Is there a way to get the VK code from KEYINFO::nKey. I'm interested in all keys. Thanks!
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,730
    Likes Received:
    80
    No.

    Rex Conn
    JP Software
     
  3. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,788
    Likes Received:
    29
    Those codes in TakeCmd.h have nothing to do with Windows ... right? They must be ancient and you must need to go out of your way to turn Windows things into them (and vice cersa?). Do you think TCC will ever use some more modern alternative? I have attached ALL.TXT, a (long) list of key descriptions and WORDs associated with them. The HIBYTE is a modifier (MOD_CTRL, etc.) bitflag and the LOBYTE is a VK code. I have a routine for generating the WORD from the description. I hope you find it interesting.
     

    Attached Files:

    • all.txt
      File size:
      33.5 KB
      Views:
      10
  4. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,730
    Likes Received:
    80
    It would take at least a month to rewrite the parser to support that, and
    another month to debug it. It's not going to happen anytime in the near
    future.

    Rex Conn
    JP Software
     
  5. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,788
    Likes Received:
    29
    On Mon, 17 May 2010 23:03:35 -0400, rconn <> wrote:

    |---Quote---
    |> Those codes in TakeCmd.h have nothing to do with Windows ... right?
    |> They must be ancient and you must need to go out of your way to turn
    |> Windows things into them (and vice cersa?). Do you think TCC will ever
    |> use some more modern alternative?
    |---End Quote---
    |It would take at least a month to rewrite the parser to support that, and
    |another month to debug it. It's not going to happen anytime in the near
    |future.

    I figured it would be quite a chore!
    --
    - Vince
     

Share This Page