1. #1
    DerbyDad03 is offline New Member
    Join Date
    Jul 2013
    Posts
    2

    Default I Need The Scancode Map Values To Simulate Ctrl-Break

    Hi! New member here...

    The keyboard for my Dell Inspiron One 2320 All-In-One PC (not a laptop) does not have a Break key. I need to use <Ctrl><Break> for debugging VBA code.

    I've got AutoHotKey set up to use <Ctrl><F12> as <Ctrl><Break> but I would rather use a registry entry instead a third party app.

    I've been looking at various sites that give the codes for remapping keys via the Scancode Map values but I'm lost as to how to use the values to make <Ctrl><F12> send <Ctrl><Break>.

    It seems to me that I need to use more values than will fit in the map entry section of the table below.

    00,00,00,00 -- header version (always 00000000)
    00,00,00,00 -- header flags (always 00000000)
    02,00,00,00 -- number of entries (including terminating NULL)
    1d,00,3a,00 -- map entry: desired scancode, key to remap
    00,00,00,00 -- NULL terminator

    I think I need 4 values (not 2) for the desired scancode and 4 values for the key to remap since I'm using 2 keys.

    I'm sure I'm just not understanding how the values work, so I'd appreciate any advice you folks could offer.

    Thanks!

  2. #2
    DerbyDad03 is offline New Member
    Join Date
    Jul 2013
    Posts
    2

    Default I Need The Scancode Map Values To Simulate Ctrl-Break

    Just want to let you know that I solved the issue. Here is the solution in case anyone else ever needs it:

    This site does a great job of explaining " scancode sequences" and "escape sequences" and how the Ctrl key works. It even included the Scancode for <Ctrl><Break>: e0 46

    (Remove the spaces after www)

    www . win.tue.nl/~aeb/linux/kbd/scancodes-1.html#ss1.4

    With this Scancode Map value, F12 (with or without the Ctrl key) sends a <Ctrl><Break>:

    00,00,00,00,00,00,00,00,02,00,00,00,58,e0,46,00,00 ,00,00,00

    Quote Originally Posted by DerbyDad03 View Post
    Hi! New member here...

    The keyboard for my Dell Inspiron One 2320 All-In-One PC (not a laptop) does not have a Break key. I need to use <Ctrl><Break> for debugging VBA code.

    I've got AutoHotKey set up to use <Ctrl><F12> as <Ctrl><Break> but I would rather use a registry entry instead a third party app.

    I've been looking at various sites that give the codes for remapping keys via the Scancode Map values but I'm lost as to how to use the values to make <Ctrl><F12> send <Ctrl><Break>.

    It seems to me that I need to use more values than will fit in the map entry section of the table below.

    00,00,00,00 -- header version (always 00000000)
    00,00,00,00 -- header flags (always 00000000)
    02,00,00,00 -- number of entries (including terminating NULL)
    1d,00,3a,00 -- map entry: desired scancode, key to remap
    00,00,00,00 -- NULL terminator

    I think I need 4 values (not 2) for the desired scancode and 4 values for the key to remap since I'm using 2 keys.

    I'm sure I'm just not understanding how the values work, so I'd appreciate any advice you folks could offer.

    Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Log in

Log in

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22