Skip to content

Commit b23fa7b

Browse files
committed
changed KB_ enums, special keys were overlapping regular keys...
1 parent baf402a commit b23fa7b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/keyb.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
2626
/* special keys */
2727
enum {
2828
KB_ESC = 27,
29+
KB_BACKSP = 127,
30+
2931
KB_INSERT, KB_DEL, KB_HOME, KB_END, KB_PGUP, KB_PGDN,
3032
KB_LEFT, KB_RIGHT, KB_UP, KB_DOWN,
3133
KB_NUM_DOT, KB_NUM_ENTER, KB_NUM_PLUS, KB_NUM_MINUS, KB_NUM_MUL, KB_NUM_DIV,
3234
KB_NUM_0, KB_NUM_1, KB_NUM_2, KB_NUM_3, KB_NUM_4,
3335
KB_NUM_5, KB_NUM_6, KB_NUM_7, KB_NUM_8, KB_NUM_9,
34-
KB_BACKSP = 127,
3536

3637
KB_LALT, KB_RALT,
3738
KB_LCTRL, KB_RCTRL,

0 commit comments

Comments
 (0)