Update with latest tests
This commit is contained in:
parent
15568a7b37
commit
a6f5047a88
4 changed files with 21 additions and 15 deletions
|
@ -7,7 +7,7 @@
|
|||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"console": true,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
|
@ -20,8 +20,8 @@
|
|||
"url": "",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
"pid": "0x0000",
|
||||
"vid": "0xFEED"
|
||||
"pid": "0xFAFE",
|
||||
"vid": "0xFEFA"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_fullsize_jis": {
|
||||
|
|
|
@ -21,14 +21,14 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
* └────┴────┴────┴────┴────────────┴────┴────┴───┴───┴───┴────┘ └───┴───┴───┘ └───────┴───┴───┘
|
||||
*/
|
||||
[0] = {
|
||||
{},
|
||||
{},
|
||||
{},
|
||||
{},
|
||||
{},
|
||||
{},
|
||||
{},
|
||||
{}
|
||||
{KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A},
|
||||
{KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A},
|
||||
{KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A},
|
||||
{KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A},
|
||||
{KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A},
|
||||
{KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A},
|
||||
{KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A},
|
||||
{KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A, KC_A}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -244,18 +244,26 @@ void matrix_init_custom(void) {
|
|||
writePinLow(COL_E);
|
||||
|
||||
wait_us(20);
|
||||
dprintf("Init finished");
|
||||
print("Init finished\n");
|
||||
}
|
||||
|
||||
bool matrix_scan_custom(matrix_row_t current_matrix[]) {
|
||||
static uint16_t counter = 0;
|
||||
bool matrix_has_changed = false;
|
||||
|
||||
enum Demux active_demux = D139;
|
||||
|
||||
++counter;
|
||||
|
||||
do {
|
||||
select_demux(active_demux);
|
||||
matrix_has_changed = scan_demux(current_matrix, active_demux) || matrix_has_changed;
|
||||
dprintf("Checking demux %d, %i", active_demux, matrix_has_changed);
|
||||
|
||||
if (counter % 1000 == 0) {
|
||||
printf("Checking demux %d, %i\n", active_demux, matrix_has_changed);
|
||||
counter = 0;
|
||||
}
|
||||
|
||||
active_demux = next_demux(active_demux);
|
||||
} while (active_demux != END);
|
||||
|
||||
|
|
|
@ -1,4 +1,2 @@
|
|||
CUSTOM_MATRIX = lite
|
||||
SRC += matrix.c
|
||||
|
||||
CONSOLE_ENABLE = yes
|
||||
|
|
Loading…
Reference in a new issue