Define default row scanner in arch headers
- in header files, change ASDF_ARCH_DEFAULT_SCANNER to ASDF_ARCH_DEFAULT_ROW_SCANNER - remove unused ASDF_NUM_KEYMAPS definition in asdf_keymap_setup.h.in
This commit is contained in:
parent
3f2e8aa249
commit
da0e89ed5e
|
@ -349,7 +349,7 @@
|
||||||
#define TICK_COUNT 249
|
#define TICK_COUNT 249
|
||||||
|
|
||||||
// Default key matrix row scanner
|
// Default key matrix row scanner
|
||||||
#define ASDF_ARCH_DEFAULT_SCANNER &asdf_arch_read_row
|
#define ASDF_ARCH_DEFAULT_ROW_SCANNER &asdf_arch_read_row
|
||||||
|
|
||||||
// Default keyboard output
|
// Default keyboard output
|
||||||
#define ASDF_ARCH_DEFAULT_OUTPUT &asdf_arch_send_code
|
#define ASDF_ARCH_DEFAULT_OUTPUT &asdf_arch_send_code
|
||||||
|
|
|
@ -254,7 +254,7 @@
|
||||||
|
|
||||||
|
|
||||||
// Default key matrix row scanner
|
// Default key matrix row scanner
|
||||||
#define ASDF_ARCH_DEFAULT_SCANNER asdf_arch_read_row
|
#define ASDF_ARCH_DEFAULT_ROW_SCANNER asdf_arch_read_row
|
||||||
|
|
||||||
// Default keyboard output
|
// Default keyboard output
|
||||||
#define ASDF_ARCH_DEFAULT_OUTPUT asdf_arch_send_code
|
#define ASDF_ARCH_DEFAULT_OUTPUT asdf_arch_send_code
|
||||||
|
|
|
@ -56,7 +56,7 @@ typedef enum {
|
||||||
#define FLASH
|
#define FLASH
|
||||||
#define FLASH_READ (a) (*(a))
|
#define FLASH_READ (a) (*(a))
|
||||||
#define FLASH_READ_MATRIX_ELEMENT(mat,row,col) (mat)[(row)][(col)]
|
#define FLASH_READ_MATRIX_ELEMENT(mat,row,col) (mat)[(row)][(col)]
|
||||||
#define ASDF_ARCH_DEFAULT_SCANNER asdf_arch_read_row
|
#define ASDF_ARCH_DEFAULT_ROW_SCANNER asdf_arch_read_row
|
||||||
#define ASDF_ARCH_DEFAULT_OUTPUT asdf_arch_send_code
|
#define ASDF_ARCH_DEFAULT_OUTPUT asdf_arch_send_code
|
||||||
|
|
||||||
// PROCEDURE: asdf_arch_pos_strobe
|
// PROCEDURE: asdf_arch_pos_strobe
|
||||||
|
|
|
@ -37,9 +37,6 @@ create_keymap_valid("${keymap_list}" keymap_valid)
|
||||||
create_keymap_report("${keymap_list}" keymap_report)
|
create_keymap_report("${keymap_list}" keymap_report)
|
||||||
create_keymap_declarations("${keymap_list}" keymap_declarations)
|
create_keymap_declarations("${keymap_list}" keymap_declarations)
|
||||||
|
|
||||||
# get list length and decrement by one to account for trailing semicolon
|
|
||||||
list (LENGTH keymap_list num_keymaps)
|
|
||||||
|
|
||||||
message("**********************")
|
message("**********************")
|
||||||
message("Keymap table: ${keymap_report}")
|
message("Keymap table: ${keymap_report}")
|
||||||
message("**********************\n\n")
|
message("**********************\n\n")
|
||||||
|
|
|
@ -27,8 +27,6 @@
|
||||||
// this program. If not, see <https://www.gnu.org/licenses/>.
|
// this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
|
|
||||||
#define ASDF_NUM_KEYMAPS @num_keymaps@
|
|
||||||
|
|
||||||
// PROCEDURE: asdf_keymap_setup
|
// PROCEDURE: asdf_keymap_setup
|
||||||
// INPUTS: (uint8_t) index - index of the keymap setup function to call
|
// INPUTS: (uint8_t) index - index of the keymap setup function to call
|
||||||
// OUTPUTS: none
|
// OUTPUTS: none
|
||||||
|
|
Loading…
Reference in New Issue