|
|
7 лет назад | |
|---|---|---|
| .. | ||
| config.h | 0210447c82 Adding FireBazooka's Tada68 Keymap (#3322) | 7 лет назад |
| keymap.c | 0210447c82 Adding FireBazooka's Tada68 Keymap (#3322) | 7 лет назад |
| readme.md | 0210447c82 Adding FireBazooka's Tada68 Keymap (#3322) | 7 лет назад |
| rules.mk | 00b6f14821 Replace outdated RGB/Audio information | 7 лет назад |
This layout follows a layout very similiar to the default, but with added functionality settings.
Coding practices: Using my limited C knowledge, I essentienally used flags to get certain functionality working (this probably isn't the way QMK should be used, but I couldn't find/got lazy trying to find the functions used to toggle layers correctly). This means that I used a static unsigned 8-bit integer called "keyboard_state" to check the current flags that are on and off currently for the keyboard.
Example: keyboard_state = B00000101
keyboard_state = B00000010
This means that certain bitwise functions like CHECK_BIT(...) and SET_BIT(...) are used on "keyboard_state" to manipulate it.