add ASCII NULL

- add ASCII_NULL to ascii table
- attach ASCII_NULL to ctrl-@
This commit is contained in:
David Fenyes 2020-02-20 01:25:21 -06:00
parent b8cf2a339a
commit e53ca053c9
2 changed files with 2 additions and 1 deletions

View File

@ -116,7 +116,7 @@
ASCII_LF, ASCII_CTRL_O, ASCII_CTRL_L, ACTION_NOTHING }, \
[6] = { ACTION_NOTHING, 0x1d, ASCII_ESC, ACTION_NOTHING, \
ACTION_NOTHING, ACTION_FN_10, ACTION_FN_9, ACTION_FN_8 }, \
[7] = { ACTION_NOTHING, ACTION_FN_7, ACTION_FN_6, ACTION_FN_5, \
[7] = { ASCII_NULL, ACTION_FN_7, ACTION_FN_6, ACTION_FN_5, \
ACTION_FN_4, ACTION_FN_3, ACTION_FN_2, ACTION_FN_1 }, \
ASDF_ASCII_DIP_SWITCHES \
}

View File

@ -29,6 +29,7 @@
#define ASDF_ASCII_H
typedef enum {
ASCII_NULL = 0x00,
ASCII_CTRL_A = 0x01,
ASCII_CTRL_B = 0x02,
ASCII_CTRL_C = 0x03,