diff options
Diffstat (limited to 'users/sigul')
-rw-r--r-- | users/sigul/sigul.c | 20 | ||||
-rw-r--r-- | users/sigul/sigul.h | 8 |
2 files changed, 14 insertions, 14 deletions
diff --git a/users/sigul/sigul.c b/users/sigul/sigul.c index 0995ca736..16bcd411d 100644 --- a/users/sigul/sigul.c +++ b/users/sigul/sigul.c | |||
@@ -40,13 +40,13 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
40 | case IT_APDQ: | 40 | case IT_APDQ: |
41 | if (record->event.pressed){ | 41 | if (record->event.pressed){ |
42 | if (get_mods() & MOD_BIT(KC_LSHIFT) || get_mods() & MOD_BIT(KC_RSHIFT)){ | 42 | if (get_mods() & MOD_BIT(KC_LSHIFT) || get_mods() & MOD_BIT(KC_RSHIFT)){ |
43 | register_code16(IT_DQOT); | 43 | register_code16(IT_DQUO); |
44 | } else { | 44 | } else { |
45 | register_code16(IT_APOS); | 45 | register_code16(IT_QUOT); |
46 | } | 46 | } |
47 | } else { | 47 | } else { |
48 | unregister_code16(IT_DQOT); | 48 | unregister_code16(IT_DQUO); |
49 | unregister_code16(IT_APOS); | 49 | unregister_code16(IT_QUOT); |
50 | } | 50 | } |
51 | return false; | 51 | return false; |
52 | break; | 52 | break; |
@@ -55,13 +55,13 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
55 | if (record->event.pressed){ | 55 | if (record->event.pressed){ |
56 | if (get_mods() & MOD_BIT(KC_LSHIFT) || get_mods() & MOD_BIT(KC_RSHIFT)){ | 56 | if (get_mods() & MOD_BIT(KC_LSHIFT) || get_mods() & MOD_BIT(KC_RSHIFT)){ |
57 | unregister_code16(KC_LSFT); | 57 | unregister_code16(KC_LSFT); |
58 | register_code16(IT_LESS); | 58 | register_code16(IT_LABK); |
59 | register_code16(KC_LSFT); | 59 | register_code16(KC_LSFT); |
60 | } else { | 60 | } else { |
61 | register_code16(IT_COMM); | 61 | register_code16(IT_COMM); |
62 | } | 62 | } |
63 | } else { | 63 | } else { |
64 | unregister_code16(IT_LESS); | 64 | unregister_code16(IT_LABK); |
65 | unregister_code16(IT_COMM); | 65 | unregister_code16(IT_COMM); |
66 | } | 66 | } |
67 | return false; | 67 | return false; |
@@ -70,12 +70,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
70 | case IT_DTMR: | 70 | case IT_DTMR: |
71 | if (record->event.pressed){ | 71 | if (record->event.pressed){ |
72 | if (get_mods() & MOD_BIT(KC_LSHIFT) || get_mods() & MOD_BIT(KC_RSHIFT)){ | 72 | if (get_mods() & MOD_BIT(KC_LSHIFT) || get_mods() & MOD_BIT(KC_RSHIFT)){ |
73 | register_code16(IT_MORE); | 73 | register_code16(IT_RABK); |
74 | } else { | 74 | } else { |
75 | register_code16(IT_DOT); | 75 | register_code16(IT_DOT); |
76 | } | 76 | } |
77 | } else { | 77 | } else { |
78 | unregister_code16(IT_MORE); | 78 | unregister_code16(IT_RABK); |
79 | unregister_code16(IT_DOT); | 79 | unregister_code16(IT_DOT); |
80 | } | 80 | } |
81 | return false; | 81 | return false; |
@@ -84,12 +84,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
84 | case IT_SLQS: | 84 | case IT_SLQS: |
85 | if (record->event.pressed){ | 85 | if (record->event.pressed){ |
86 | if (get_mods() & MOD_BIT(KC_LSHIFT) || get_mods() & MOD_BIT(KC_RSHIFT)){ | 86 | if (get_mods() & MOD_BIT(KC_LSHIFT) || get_mods() & MOD_BIT(KC_RSHIFT)){ |
87 | register_code16(IT_QST); | 87 | register_code16(IT_QUES); |
88 | } else { | 88 | } else { |
89 | register_code16(IT_SLSH); | 89 | register_code16(IT_SLSH); |
90 | } | 90 | } |
91 | } else { | 91 | } else { |
92 | unregister_code16(IT_QST); | 92 | unregister_code16(IT_QUES); |
93 | unregister_code16(IT_SLSH); | 93 | unregister_code16(IT_SLSH); |
94 | } | 94 | } |
95 | return false; | 95 | return false; |
diff --git a/users/sigul/sigul.h b/users/sigul/sigul.h index 6adc67063..8f806017c 100644 --- a/users/sigul/sigul.h +++ b/users/sigul/sigul.h | |||
@@ -15,10 +15,10 @@ enum userspace_layers { | |||
15 | enum userspace_custom_keycodes { | 15 | enum userspace_custom_keycodes { |
16 | QWERTY = SAFE_RANGE, | 16 | QWERTY = SAFE_RANGE, |
17 | // custom keycodes for an Italian ANSI layout with accented vowels | 17 | // custom keycodes for an Italian ANSI layout with accented vowels |
18 | IT_CMLS, // IT_COMM and IT_LESS when combined with shift | 18 | IT_CMLS, // IT_COMM and IT_LABK when combined with shift |
19 | IT_DTMR, // IT_DOT and IT_MORE when combined with shift | 19 | IT_DTMR, // IT_DOT and IT_RABK when combined with shift |
20 | IT_SLQS, // IT_SLSH and IT_QST when combined with shift | 20 | IT_SLQS, // IT_SLSH and IT_QUES when combined with shift |
21 | IT_APDQ, // IT_APO and IT_DQOT when combined with shift | 21 | IT_APDQ, // IT_APO and IT_DQUO when combined with shift |
22 | IT_SCCL, // IT_SMCL and IT_COLN when combined with shift | 22 | IT_SCCL, // IT_SMCL and IT_COLN when combined with shift |
23 | SECRET0, | 23 | SECRET0, |
24 | SECRET1, | 24 | SECRET1, |