diff options
author | Alin Marin Elena <alin@elena.space> | 2022-01-30 19:13:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-30 11:13:08 -0800 |
commit | b0da2302137aa180af4e7464a70aa4b63ae919fe (patch) | |
tree | cfd7458beb2bc5904ff12e91fd100a3442484f92 /keyboards/mlego/m65/m65.h | |
parent | 03b1d9ef1f7f472f83c929c15044e71453823737 (diff) |
[Keyboard] add mlego/m65 oled revision (#15833)
Diffstat (limited to 'keyboards/mlego/m65/m65.h')
-rw-r--r-- | keyboards/mlego/m65/m65.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/keyboards/mlego/m65/m65.h b/keyboards/mlego/m65/m65.h index a93a80be74..f5ffd519fa 100644 --- a/keyboards/mlego/m65/m65.h +++ b/keyboards/mlego/m65/m65.h @@ -96,8 +96,18 @@ enum unicode_names { lL1, lk1, lK1, + ra, + rA, + ra1, + rA1, rc, rC, + ri, + rI, + rs, + rS, + rt, + rT, }; static inline void led_lwr(const bool on) { @@ -113,7 +123,7 @@ static inline void led_rse(const bool on) { } static inline void led_caps(const bool on) { #ifdef LED_CAPS_LOCK_PIN - if ((DEVICE_VER == 0x0001) || (DEVICE_VER == 0x0003)) { + if ((DEVICE_VER == 0x0001) || (DEVICE_VER == 0x0003) || (DEVICE_VER == 0x0004)) { writePin(LED_CAPS_LOCK_PIN, !on); } if (DEVICE_VER == 0x0002) { @@ -121,4 +131,3 @@ static inline void led_caps(const bool on) { } #endif } - |