Macro problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zero
    Apprentice
    • Jan 2008
    • 83

    Macro problem

    Let's say I want to create a macro for:

    Holding shift, keypad 6

    This generates P:\[Right] as the trigger, which is the same as if I just pressed the right arrow key. But I already have macros that start with the right arrow key, which makes the new macro have a delay after shift-KP6 is pressed. Is there a way to differentiate the right arrow key from shift-KP6?

    Enabling/disabling num lock doesn't help with my problem.
  • Garrie
    Adept
    • Feb 2008
    • 147

    #2
    I believe this is because the IBM keyboard is wired to pass the same signal for both keypresses... the software doesn't even know there is more than one way to make that signal so there is no way to tell the software to do different things for each instance.
    Best /favorite character

    Comment

    • zaimoni
      Knight
      • Apr 2007
      • 590

      #3
      Originally posted by Garrie
      I believe this is because the IBM keyboard is wired to pass the same signal for both keypresses... the software doesn't even know there is more than one way to make that signal so there is no way to tell the software to do different things for each instance.
      No, it's an interpretation issue (if the program works with keycodes rather than interpreted keypresses they can be distinguished.) V uses the usual Windows APIs, so Windows is automatically translating the keycodes to keypresses.

      It has been a critical bug to distinguish between right-arrow and shift-KP6 since at least DOS 2.0, so there is no reason to expect Windows to break this anytime soon.
      Zaiband: end the "I shouldn't have survived that" experience. V3.0.6 fork on Hg.
      Zaiband 3.0.10 ETA Mar. 7 2011 (Yes, schedule slipped. Latest testing indicates not enough assert() calls to allow release.)
      Z.C++: pre-alpha C/C++ compiler system (usable preprocessor). Also on Hg. Z.C++ 0.0.10 ETA December 31 2011

      Comment

      Working...
      😀
      😂
      🥰
      😘
      🤢
      😎
      😞
      😡
      👍
      👎