summaryrefslogtreecommitdiff
path: root/keyboards/bastardkb/dilemma/3x5_2
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/bastardkb/dilemma/3x5_2')
-rw-r--r--keyboards/bastardkb/dilemma/3x5_2/keymaps/drashna/keymap.c26
1 files changed, 18 insertions, 8 deletions
diff --git a/keyboards/bastardkb/dilemma/3x5_2/keymaps/drashna/keymap.c b/keyboards/bastardkb/dilemma/3x5_2/keymaps/drashna/keymap.c
index d4aa71440d..d80d006796 100644
--- a/keyboards/bastardkb/dilemma/3x5_2/keymaps/drashna/keymap.c
+++ b/keyboards/bastardkb/dilemma/3x5_2/keymaps/drashna/keymap.c
@@ -133,14 +133,24 @@ bool oled_task_keymap(void) {
// render_rgb_hsv(1, 13);
oled_set_cursor(1, 13);
- // oled_write_P(PSTR("Timer:"), false);
- // oled_write(get_u8_str((uint8_t)(timer_elapsed32(oled_timer) / 1000), ' '), false);
- oled_write_P(PSTR("Status: "), false);
- if (is_oled_enabled) {
- oled_write_P(PSTR("on "), false);
- } else {
- oled_write_P(PSTR("off"), false);
- }
+ oled_write_P(PSTR("OS: "), false);
+ extern os_variant_t os_type;
+ switch (os_type) {
+ case OS_LINUX:
+ oled_write_ln_P(PSTR("Linux"), false);
+ break;
+ case OS_WINDOWS:
+ oled_write_ln_P(PSTR("Windows"), false);
+ break;
+ case OS_MACOS:
+ oled_write_ln_P(PSTR("MacOS"), false);
+ break;
+ case OS_IOS:
+ oled_write_ln_P(PSTR("iOS"), false);
+ break;
+ default:
+ break;
+ }
render_keylogger_status(1, 14);