+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 37

Thread: Binding numpad keys

  1. #1
    *kdawg14
    Guest

    Question Binding numpad keys

    How do I bind a command specifically to the numpad, and not for identical keys on the rest of the keyboard. I.e, how do I bind numpad '1' and not the other '1'.

    Thanks in advance.

  2. #2
    *Sm0k3z
    Guest
    KP_END will be the 1 on the number pad... when binding those u have to use the names on the keys and not the numbers

    1 - KP_END
    2 - KP_DOWNARROW
    3 - KP_PGDN
    4 - KP_LEFTARROW
    5 - KP_5 ( i think )
    6 - KP_RIGHTARROW
    7 - KP_HOME
    8 - KP_UPARROW
    9 - KP_PGDN

    i believe thats what they are.. if ot then it will tell u not a valid key or something like that... anyway have fun..

  3. #3
    *kdawg14
    Guest
    Thankyou very much

  4. #4
    Senior Member sample2501 is on a distinguished road
    Join Date
    Aug 2010
    Location
    Vienna
    Posts
    622
    0 = kp_INS
    , = kp_DEL
    enter = kp_enter
    + = kp_PLUS
    - = kp_MINUS
    * = kp_*
    / = kp_slash

    if u need them too

  5. #5
    Senior Member belka_ is on a distinguished road belka_'s Avatar
    Join Date
    Aug 2010
    Location
    home of belka_ style
    Posts
    674
    Quote Originally Posted by sample2501 View Post
    0 = kp_INS
    , = kp_DEL
    enter = kp_enter
    + = kp_PLUS
    - = kp_MINUS
    * = kp_*
    / = kp_slash

    if u need them too
    Thanks mate
    PLAY MORE belka_ STYLE

  6. #6
    Senior Member g0vn0r is on a distinguished road
    Join Date
    Aug 2010
    Posts
    161
    some typos corrected
    Quote Originally Posted by Sm0k3z View Post
    1 - KP_END
    2 - KP_DOWNARROW
    3 - KP_PGDN
    4 - KP_LEFTARROW
    5 - KP_5 ( i think )
    6 - KP_RIGHTARROW
    7 - KP_HOME
    8 - KP_UPARROW
    9 - KP_PGUP
    Quote Originally Posted by sample2501 View Post
    0 = kp_INS
    . = kp_DEL
    enter = kp_enter
    + = kp_PLUS
    - = kp_MINUS
    * = KP_STAR
    / = kp_slash
    The numlock key can be used too (KP_NUMLOCK) but still its systemwide toggle effect prevails, and this can be annoying when messaging to players.
    Last edited by g0vn0r; 01-13-2011 at 04:19 AM.

  7. #7
    Senior Member KittenIgnition is on a distinguished road
    Join Date
    Aug 2010
    Location
    #WolfcamQL
    Posts
    3,755
    if you turn on/off numlock, they act like normal numbers. just fyi.

  8. #8
    Senior Member sample2501 is on a distinguished road
    Join Date
    Aug 2010
    Location
    Vienna
    Posts
    622
    Quote Originally Posted by g0vn0r View Post
    some typos corrected



    The numlock key can be used too (KP_NUMLOCK) but still its systemwide toggle effect prevails, and this can be annoying when messaging to players.
    are you positive about KP_STAR? i (have to) use KP_*, maybe it's an issue what keyboard layout u use? like english and german keyboard?

  9. #9
    Senior Member malk_ will become famous soon enough malk_ will become famous soon enough malk_'s Avatar
    Join Date
    Aug 2010
    Location
    Germany
    Posts
    2,529
    I wish we could bind keycodes directly

    /bind 0x00 "something" works, tho. For all special keys.
    "I worked hard to learn to aim where I shouldn't be aiming, I want others to get through this pain too!"
    o . o . o . o

  10. #10
    Senior Member sample2501 is on a distinguished road
    Join Date
    Aug 2010
    Location
    Vienna
    Posts
    622
    Quote Originally Posted by malk_ View Post
    I wish we could bind keycodes directly

    /bind 0x00 "something" works, tho. For all special keys.
    cool, didn't knew that. u don't have all the keycodes handy, do u?

+ Reply to Thread

Posting Permissions

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