Changeset 3897


Ignore:
Timestamp:
Nov 13, 2009, 5:31:44 PM (11 years ago)
Author:
Pascal Terjan
Message:
  • Fix arrow keys
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/input.c

    r3551 r3897  
    2626
    2727struct kconv kconv[] = {
    28     {CACA_KEY_UP,      "\x1b[A",   3},
    29     {CACA_KEY_DOWN,    "\x1b[B",   3},
    30     {CACA_KEY_RIGHT,   "\x1b[C",   3},
    31     {CACA_KEY_LEFT,    "\x1b[D",   3},
     28    {CACA_KEY_UP,      "\x1bOA",   3},
     29    {CACA_KEY_DOWN,    "\x1bOB",   3},
     30    {CACA_KEY_RIGHT,   "\x1bOC",   3},
     31    {CACA_KEY_LEFT,    "\x1bOD",   3},
    3232    {CACA_KEY_PAGEUP,  "\x1b[5~",  4},
    3333    {CACA_KEY_PAGEDOWN,"\x1b[6~",  4},
Note: See TracChangeset for help on using the changeset viewer.