diff options
Diffstat (limited to 'keyboards/planck/keymaps/sigul/keymap.c')
-rw-r--r-- | keyboards/planck/keymaps/sigul/keymap.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/keyboards/planck/keymaps/sigul/keymap.c b/keyboards/planck/keymaps/sigul/keymap.c index 0bc0d9e03..bdbf21b11 100644 --- a/keyboards/planck/keymaps/sigul/keymap.c +++ b/keyboards/planck/keymaps/sigul/keymap.c | |||
@@ -1,13 +1,13 @@ | |||
1 | /* | 1 | /* |
2 | * | 2 | * |
3 | * An Italian ANSI layout | 3 | * An Italian ANSI layout |
4 | * Version 0.3 | 4 | * Version 0.3 |
5 | * | 5 | * |
6 | * Created by Silvio Gulizia on the basis of the default Planck keymap. | 6 | * Created by Silvio Gulizia on the basis of the default Planck keymap. |
7 | * Thanks to SomeBuddyOnReddit, gepeirl, fauxpark, BXO511, drashna, and ridingqwerty. | 7 | * Thanks to SomeBuddyOnReddit, gepeirl, fauxpark, BXO511, drashna, and ridingqwerty. |
8 | * | 8 | * |
9 | * The layout is based on the original Planck layout when used with language set to Italian on your Mac. | 9 | * The layout is based on the original Planck layout when used with language set to Italian on your Mac. |
10 | * Accented vowels have been moverd on RAISE ("è", "ì", and "ù") and LOWER ("é", "ò", and "à") | 10 | * Accented vowels have been moverd on RAISE ("�", "�", and "�") and LOWER ("�", "�", and "�") |
11 | * | 11 | * |
12 | */ | 12 | */ |
13 | 13 | ||
@@ -40,9 +40,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
40 | * ,-----------------------------------------------------------------------------------. | 40 | * ,-----------------------------------------------------------------------------------. |
41 | * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del | | 41 | * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del | |
42 | * |------+------+------+------+------+-------------+------+------+------+------+------| | 42 | * |------+------+------+------+------+-------------+------+------+------+------+------| |
43 | * |Enter | F1 | F2 | F3 | F4 | F5 | | _ | = | é | ò | à | | 43 | * |Enter | F1 | F2 | F3 | F4 | F5 | | _ | = | � | � | � | |
44 | * |------+------+------+------+------+------|------+------+------+------+------+------| | 44 | * |------+------+------+------+------+------|------+------+------+------+------+------| |
45 | * | | F6 | F7 | F8 | F9 | |NUMPAD| § | ± | { | } | | | | 45 | * | | F6 | F7 | F8 | F9 | |NUMPAD| � | � | { | } | | | |
46 | * |------+------+------+------+------+------+------+------+------+------+------+------| | 46 | * |------+------+------+------+------+------+------+------+------+------+------+------| |
47 | * | | | | | | | | | Next | Vol- | Vol+ | Play | | 47 | * | | | | | | | | | Next | Vol- | Vol+ | Play | |
48 | * `-----------------------------------------------------------------------------------' | 48 | * `-----------------------------------------------------------------------------------' |
@@ -59,7 +59,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
59 | * ,-----------------------------------------------------------------------------------. | 59 | * ,-----------------------------------------------------------------------------------. |
60 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | | | 60 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | | |
61 | * |------+------+------+------+------+-------------+------+------+------+------+------| | 61 | * |------+------+------+------+------+-------------+------+------+------+------+------| |
62 | * | | | SGCOM| DESK | | | | - | + | è | ì | ù | | 62 | * | | | SGCOM| DESK | | | | - | + | � | � | � | |
63 | * |------+------+------+------+------+------|------+------+------+------+------+------| | 63 | * |------+------+------+------+------+------|------+------+------+------+------+------| |
64 | * | Caps | | PHONE| SVIV |VIVERE| |NUMPAD| | | [ | ] | \ | | 64 | * | Caps | | PHONE| SVIV |VIVERE| |NUMPAD| | | [ | ] | \ | |
65 | * |------+------+------+------+------+------+------+------+------+------+------+------| | 65 | * |------+------+------+------+------+------+------+------+------+------+------+------| |
@@ -162,7 +162,7 @@ uint16_t muse_counter = 0; | |||
162 | uint8_t muse_offset = 70; | 162 | uint8_t muse_offset = 70; |
163 | uint16_t muse_tempo = 50; | 163 | uint16_t muse_tempo = 50; |
164 | 164 | ||
165 | void encoder_update(bool clockwise) { | 165 | bool encoder_update(bool clockwise) { |
166 | if (muse_mode) { | 166 | if (muse_mode) { |
167 | if (IS_LAYER_ON(_RAISE)) { | 167 | if (IS_LAYER_ON(_RAISE)) { |
168 | if (clockwise) { | 168 | if (clockwise) { |
@@ -192,6 +192,7 @@ void encoder_update(bool clockwise) { | |||
192 | #endif | 192 | #endif |
193 | } | 193 | } |
194 | } | 194 | } |
195 | return true; | ||
195 | } | 196 | } |
196 | 197 | ||
197 | void matrix_scan_user(void) { | 198 | void matrix_scan_user(void) { |