|
2 years ago | |
---|---|---|
.. | ||
config.h | 0210447c82 Adding FireBazooka's Tada68 Keymap (#3322) | 7 years ago |
keymap.c | 219afaba42 Reworked backlight keycodes. (#18961) | 2 years ago |
readme.md | 0210447c82 Adding FireBazooka's Tada68 Keymap (#3322) | 7 years ago |
rules.mk | a03aa301de Remove Full Bootmagic (#13846) | 4 years ago |
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.