From db4452d3074d8e27e88029399bf80d6e5568f2cf Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 26 Oct 2009 13:13:33 +0000 Subject: Rename keypad keys to something more useful. --- tmux.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 430470d4..5932cc10 100644 --- a/tmux.h +++ b/tmux.h @@ -163,23 +163,23 @@ enum key_code { KEYC_LEFT, KEYC_RIGHT, - /* Numeric keypad. Numbered from top-left, KPY_X. */ - KEYC_KP0_1, - KEYC_KP0_2, - KEYC_KP0_3, - KEYC_KP1_0, - KEYC_KP1_1, - KEYC_KP1_2, - KEYC_KP1_3, - KEYC_KP2_0, - KEYC_KP2_1, - KEYC_KP2_2, - KEYC_KP3_0, - KEYC_KP3_1, - KEYC_KP3_2, - KEYC_KP3_3, - KEYC_KP4_0, - KEYC_KP4_2, + /* Numeric keypad. */ + KEYC_KP_SLASH, + KEYC_KP_STAR, + KEYC_KP_MINUS, + KEYC_KP_SEVEN, + KEYC_KP_EIGHT, + KEYC_KP_NINE, + KEYC_KP_PLUS, + KEYC_KP_FOUR, + KEYC_KP_FIVE, + KEYC_KP_SIX, + KEYC_KP_ONE, + KEYC_KP_TWO, + KEYC_KP_THREE, + KEYC_KP_ENTER, + KEYC_KP_ZERO, + KEYC_KP_PERIOD, }; /* Termcap codes. */ -- cgit