aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReibl János Dániel <jani.reibl3@gmail.com>2020-09-29 06:48:35 +0200
committerGitHub <noreply@github.com>2020-09-28 21:48:35 -0700
commit284a5267d5a0bbbeb6b83d4a88b8c64d7f4ab1ba (patch)
tree71846237e5c34c5c09ab8799229639c6541c416e
parentd844f5af7031e18d8933954e85903484d51d978a (diff)
downloadfirmware-284a5267d5a0bbbeb6b83d4a88b8c64d7f4ab1ba.tar.gz
firmware-284a5267d5a0bbbeb6b83d4a88b8c64d7f4ab1ba.tar.bz2
firmware-284a5267d5a0bbbeb6b83d4a88b8c64d7f4ab1ba.zip
Add Unicode modes for `handwired/riblee_f401:riblee` (#10461)
* Add unicode modes * Update keyboards/handwired/riblee_f401/keymaps/riblee/config.h
-rw-r--r--keyboards/handwired/riblee_f401/keymaps/riblee/config.h18
-rw-r--r--keyboards/handwired/riblee_f401/keymaps/riblee/keymap.c4
-rw-r--r--keyboards/handwired/riblee_f401/keymaps/riblee/readme.md2
3 files changed, 21 insertions, 3 deletions
diff --git a/keyboards/handwired/riblee_f401/keymaps/riblee/config.h b/keyboards/handwired/riblee_f401/keymaps/riblee/config.h
new file mode 100644
index 000000000..bc80ffdd7
--- /dev/null
+++ b/keyboards/handwired/riblee_f401/keymaps/riblee/config.h
@@ -0,0 +1,18 @@
+/* Copyright 2020 Daniel Reibl <janos.daniel.reibl@protonmail.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+#define UNICODE_SELECTED_MODES UC_MAC, UC_LNX
diff --git a/keyboards/handwired/riblee_f401/keymaps/riblee/keymap.c b/keyboards/handwired/riblee_f401/keymaps/riblee/keymap.c
index 33319542a..eec732df5 100644
--- a/keyboards/handwired/riblee_f401/keymaps/riblee/keymap.c
+++ b/keyboards/handwired/riblee_f401/keymaps/riblee/keymap.c
@@ -286,7 +286,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* |------+------+------+------+------+-------------+------+------+------+------+------|
* | | |Mu mod|Aud on|AudOff|AGnorm|AGswap|Qwerty|Colemk|Dvorak| | |
* |------+------+------+------+------+------|------+------+------+------+------+------|
- * | | | | | | | NKRO | Swap |Un swp| | | |
+ * | | | | | | | NKRO | Swap |Un swp|UC Mod| | |
* |------+------+------+------+------+------+------+------+------+------+------+------|
* | | | | | | | | | | | |
* `-----------------------------------------------------------------------------------'
@@ -295,7 +295,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
_______, RESET, DEBUG, _______, _______, _______, _______, TERM_ON, TERM_OFF,_______, _______, KC_DEL,
_______, _______, MU_MOD, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______,
- _______, _______, _______, _______, _______, _______, NK_TOGG, LCG_SWP, LCG_NRM, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______, NK_TOGG, LCG_SWP, LCG_NRM, UC_MOD, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
)
diff --git a/keyboards/handwired/riblee_f401/keymaps/riblee/readme.md b/keyboards/handwired/riblee_f401/keymaps/riblee/readme.md
index 1045c9881..231f7afd3 100644
--- a/keyboards/handwired/riblee_f401/keymaps/riblee/readme.md
+++ b/keyboards/handwired/riblee_f401/keymaps/riblee/readme.md
@@ -77,7 +77,7 @@ Adjust (Lower + Raise)
|------+------+------+------+------+-------------+------+------+------+------+------|
| | |Mu mod|Aud on|AudOff|AGnorm|AGswap|Qwerty|Colemk|Dvorak| | |
|------+------+------+------+------+------|------+------+------+------+------+------|
-| | | | | | | NKRO | Swap |Un swp| | | |
+| | | | | | | NKRO | Swap |Un swp|UC Mod| | |
|------+------+------+------+------+------+------+------+------+------+------+------|
| | | | | | | | | | | |
`-----------------------------------------------------------------------------------'