summaryrefslogtreecommitdiffstats
path: root/keyboards/thevankeyboards/minivan/keymaps/josjoha/keymap.c
diff options
context:
space:
mode:
authorJos Boersema <56587694+josjoha@users.noreply.github.com>2021-09-16 07:27:44 +0200
committerGitHub <noreply@github.com>2021-09-15 22:27:44 -0700
commitd140e41c93dcf0a429392310858ac905447324ac (patch)
treede643dc0f31c0e450cf7ba0aebf665ca50877090 /keyboards/thevankeyboards/minivan/keymaps/josjoha/keymap.c
parentb5cc2bdc34d9091e7b31fcb9676e0d37b0282aad (diff)
Adds optional hebrew layout (Unicode) (#14156)
Diffstat (limited to 'keyboards/thevankeyboards/minivan/keymaps/josjoha/keymap.c')
-rw-r--r--keyboards/thevankeyboards/minivan/keymaps/josjoha/keymap.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/keyboards/thevankeyboards/minivan/keymaps/josjoha/keymap.c b/keyboards/thevankeyboards/minivan/keymaps/josjoha/keymap.c
index 09a9b7d93d..057561a473 100644
--- a/keyboards/thevankeyboards/minivan/keymaps/josjoha/keymap.c
+++ b/keyboards/thevankeyboards/minivan/keymaps/josjoha/keymap.c
@@ -146,7 +146,7 @@ bool led_middle_on = TRUE; // Set to off later, if startup setting is off.
bool isolate_trigger = FALSE; // detects if _FUN layer move was pressed, and no other key (no normal use of Shift).
bool capslock; // keeps track of capslock state
bool numlock; // keeps track of numlock state
-layer_state_t state_recall; // We are calling the function set_led_colors_ from this file as well.
+//layer_state_t state_recall; // We are calling the function set_led_colors_ from this file as well.
// speed measuring
bool speed_measure = SPEED_INIT_VALUE; // feature activated or not on startup
uint32_t speed_counttime; // counts the time
@@ -289,8 +289,8 @@ void speed_led (int speed) {
// do this in one place to handle left/right leds being off here
void isolate_rgblight_set () {
-# ifdef RGBLIGHT_ENABLE
+# ifdef RGBLIGHT_ENABLE
if (!leds_on) { // left/right leds are off
// overwrite previously colors
uint8_t led0r = 0; uint8_t led0g = 0; uint8_t led0b = 0;
@@ -305,8 +305,8 @@ void isolate_rgblight_set () {
setrgb(led2r, led2g, led2b, (LED_TYPE *)&led[2]); // Led 2
}
rgblight_set ();
-
# endif
+
}
@@ -335,7 +335,7 @@ void indicate_fun_stay (void) {
// _RAR layer leds
-// It is a function because this is called when the Base layer OTHER_BASE key is pressed
+// It is a function because this is also called when the Base layer OTHER_BASE key is pressed
void indicate_base (void) {
# ifdef RGBLIGHT_ENABLE
@@ -614,6 +614,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
# include "./base_numpad.c" // Numbers pad
# endif
+// * Hebrew *
+# if defined(BASE_HEBREW__DEF_BASE) || defined(BASE_HEBREW__ALT_BASE)
+# include "./base_hebrew.c" // Hebrew
+# endif
+
// // ⬇ insert your ./base_YOUR_KEYMAP.c #include here: