Keyboard: Add YMD96 instructions for Linux + Backlight Fixes (#3908)
* Add flashing instructions for Linux * Make device/manufacturer name consistent for ymd96 * Disable command mode by default for YMD96 * Add function call to fix backlight for YMD96 * Add personal YMD96 config * Replace include with QMK macro * Move KEYMAP macro to keymap-level folder * Move custom KEYMAP macro to global LAYOUT_iso macro * Change transparent keymappings to global definition * Remove unecessary import and change to pragma once - (instead of repeated ifdef) * Remove global keymap/layout definition
This commit is contained in:
parent
fe3bfd91c1
commit
ed2dd3b59c
9 changed files with 158 additions and 22 deletions
|
@ -50,20 +50,8 @@ void matrix_init(void) {
|
|||
matrix[row] = 0x00;
|
||||
matrix_debouncing[row] = 0x00;
|
||||
}
|
||||
/*}
|
||||
|
||||
matrix_init_quantum(); // missing from original port by Luiz
|
||||
void matrix_set_row_status(uint8_t row) {
|
||||
DDRB = (1 << row);
|
||||
PORTB = ~(1 << row);
|
||||
}*/
|
||||
|
||||
|
||||
/*uint8_t bit_reverse(uint8_t x) {
|
||||
x = ((x >> 1) & 0x55) | ((x << 1) & 0xaa);
|
||||
x = ((x >> 2) & 0x33) | ((x << 2) & 0xcc);
|
||||
x = ((x >> 4) & 0x0f) | ((x << 4) & 0xf0);
|
||||
return x;*/
|
||||
}
|
||||
|
||||
uint8_t matrix_scan(void) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue