Menu

Getting Keycodes

PuercoPop
2007-04-17
2018-03-04
  • PuercoPop

    PuercoPop - 2007-04-17

    Oi hello,

    I can't bind the keypad to the directions macro on konsole with the kp_* notation and when I try the function getkeycode() tf says there is none.

    Thanks in adv.

     
    • Ken Keys

      Ken Keys - 2007-05-21

      As far as I can tell, Konsole has no way to put the keypad in "application keypad" mode, which is needed to make it generate what tf calls the nkp* codes.  It can only generate "editing keypad" codes (Home, Up, PgUp, etc) or digit characters.  For more information, see "/help keypad".

       
  • Eric Böse-Wolf

    Eric Böse-Wolf - 2009-11-08

    What works for me is rxvt, if NumLock is turned off, it produces the nkp* - Keycodes.

     
  • Ovidiu Androne

    Ovidiu Androne - 2018-03-04

    Hi there,

    I have a hard time making keybindings for the numeric keypad in tinyfugue. My ubuntu 16.04 term is xterm-256color. I can bind the following keys: nkp*, nkp/, nkp-, nkp+, nkpEnt.

    I cannot bind (using /def key_name = <commands> has no effect) the following keys: nkp0, nkp1 .. nkp9, nkp. .</commands>

    I've struggled a lot with this issue. Please, help!

    Thank you!

     

Log in to post a comment.