1
0
Fork 0

[Keymap] Add @cjuniet's keymap/layout/userspace (#8258)

* Add Colemak layout

* Add status bar for mods & locks with a custom font

* Swap DEL and TAB

* Fix media keys and add QMK Configurator layout

* Add dead grave accent on <leader>e
This commit is contained in:
James Young 2020-03-04 17:19:26 -08:00 committed by GitHub
parent 8e229f0db6
commit 8fd8454308
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 466 additions and 0 deletions

13
users/cjuniet/cjuniet.c Normal file
View file

@ -0,0 +1,13 @@
#include "cjuniet.h"
void render_status_bar(void) {
uint8_t modifiers = get_mods();
led_t led_state = host_keyboard_led_state();
oled_write_P(PSTR("\325\326"), (modifiers & MOD_MASK_SHIFT));
oled_write_P(PSTR("\327\330"), (modifiers & MOD_MASK_CTRL));
oled_write_P(PSTR("\331\332"), (modifiers & MOD_MASK_ALT));
oled_write_P(PSTR("\333\334"), (modifiers & MOD_MASK_GUI));
oled_write_P(PSTR(" "), false);
oled_write_P(PSTR("\235\236"), led_state.caps_lock);
oled_write_P(PSTR("\275\276"), led_state.num_lock);
}