Ignore:
Timestamp:
Nov 13, 2006, 9:55:36 AM (13 years ago)
Author:
Sam Hocevar
Message:
  • Added CACA_KEY_* values for Ctrl-C, Ctrl-V, etc.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/caca.h

    r1358 r1386  
    115115
    116116    /* The following keys have ASCII equivalents */
     117    CACA_KEY_CTRL_A =    0x01, /**< The Ctrl-A key. */
     118    CACA_KEY_CTRL_B =    0x02, /**< The Ctrl-B key. */
     119    CACA_KEY_CTRL_C =    0x03, /**< The Ctrl-C key. */
     120    CACA_KEY_CTRL_D =    0x04, /**< The Ctrl-D key. */
     121    CACA_KEY_CTRL_E =    0x05, /**< The Ctrl-E key. */
     122    CACA_KEY_CTRL_F =    0x06, /**< The Ctrl-F key. */
     123    CACA_KEY_CTRL_G =    0x07, /**< The Ctrl-G key. */
    117124    CACA_KEY_BACKSPACE = 0x08, /**< The backspace key. */
    118125    CACA_KEY_TAB =       0x09, /**< The tabulation key. */
     126    CACA_KEY_CTRL_J =    0x0a, /**< The Ctrl-J key. */
     127    CACA_KEY_CTRL_K =    0x0b, /**< The Ctrl-K key. */
     128    CACA_KEY_CTRL_L =    0x0c, /**< The Ctrl-L key. */
    119129    CACA_KEY_RETURN =    0x0d, /**< The return key. */
     130    CACA_KEY_CTRL_N =    0x0e, /**< The Ctrl-N key. */
     131    CACA_KEY_CTRL_O =    0x0f, /**< The Ctrl-O key. */
     132    CACA_KEY_CTRL_P =    0x10, /**< The Ctrl-P key. */
     133    CACA_KEY_CTRL_Q =    0x11, /**< The Ctrl-Q key. */
     134    CACA_KEY_CTRL_R =    0x12, /**< The Ctrl-R key. */
    120135    CACA_KEY_PAUSE =     0x13, /**< The pause key. */
     136    CACA_KEY_CTRL_T =    0x14, /**< The Ctrl-T key. */
     137    CACA_KEY_CTRL_U =    0x15, /**< The Ctrl-U key. */
     138    CACA_KEY_CTRL_V =    0x16, /**< The Ctrl-V key. */
     139    CACA_KEY_CTRL_W =    0x17, /**< The Ctrl-W key. */
     140    CACA_KEY_CTRL_X =    0x18, /**< The Ctrl-X key. */
     141    CACA_KEY_CTRL_Y =    0x19, /**< The Ctrl-Y key. */
     142    CACA_KEY_CTRL_Z =    0x1a, /**< The Ctrl-Z key. */
    121143    CACA_KEY_ESCAPE =    0x1b, /**< The escape key. */
    122144    CACA_KEY_DELETE =    0x7f, /**< The delete key. */
Note: See TracChangeset for help on using the changeset viewer.