You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

100 lines
2.5 KiB

[Keymap] Sigul planck (#8546) * remove IT_PIPE duplicate and add IT_GRAD IT_PIPE was declared 2 times, ones as ° and once as |. I changed the first declaration and called it IT_GRAD. I even fixed the definition because the ° in Italian is obtained with LSFT(IT_AACC) * rename IT_GRAD to IT_DEGR * fix missing music mode legend * add missing plus_and_minus * fix missing IT_ACUT definition * change KC_LALT(KC_LSFT to LALT(LSFT * Fix alignment * remove leftover * fix issue generated with chars while pushing * fix typo * add sigul folder in Planck keymaps * fix LCBR and RCBR * fix euro symbol * fix RBRC * change IT_LESS form KC_NUBS to KC_GRAVE * add IT_TILDE and change IT_GRAV to IT_GRAVE * initial commit * add ideas to readme * comment key lock * add a bunch of new features as stated in readme.md * check features added and list to do * add macros on RAISE * add F keys on numbers row on FN layer * flag features added * fix macro formulas * move DESK and SGCOM under D and S * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck fix spaces for readability * add missing legends for accented vowels * format for readability * move MOUSE button on B (same key that activates it) on MOUSE layer * revert to commit befor I edit it * initial commit * edited to be easier to compare to _ansi.h * remove keymap_italian_osx_iso.h and rename with edits keymap_italian_osx_ansi.h to keymap_italian_osx.h I found out there were no difference at all * fix missing #endif * change the included file from italian.h to italian_osx.h * fix debug key * edit Numapd layer, add enter and bsps * change TAPPING_TOGGLE from 2 to 3 * change italian_osx.h to italian_ansi.h * rename quantum/keymap_extras/keymap_italian_osx.h to quantum/keymap_extras/keymap_italian_ansi.h Now this file is a clone of the keymap_italian.h that appears to be working only for ISO keyboards. It also contains a few improvements for IT_PIPE (defined two times) and IT_ACUT (missing definition). Additionally it redefines LCBR and RCBR to LSFT(IT_LBRC) and LSFT(IT_RBRC) * rename file * redefines IT_BKSL and IT_PIPE based on KC_BKSL * merge new italian * add new osx_iso and osx_ansi version for italian.h and align BKSL to BSLS, fix double definition of PIPE * rename BKSL to BSLS * add FN_D and some comments * add MOUSEKEY configuration * update * edit swap =/+ with ò/ì * merge with master * add MS_B to have _MOUSE when pressing B * move RAISE on _FN * add phone number * remove CONTRA folder * remove CONTRA folder * Update keyboards/planck/keymaps/sigul/keymap.c fix include definition Co-Authored-By: Ryan <fauxpark@gmail.com> * remove default planck kemap * remove extern keymap_config_t keymap_config; based on suggestion from @fauxpark, It's not needed as it should already be externed through one of the includes provided by QMK_KEYBOARD_H. Co-Authored-By: Ryan <fauxpark@gmail.com> * add user space for user sigul * remove custom config moved to user space sigul * comment tri layers state (moved to user space) * remove tri layers update comment (code moved in user space) * add secrets * move enum and define to userspace * Edit title * move enum and define to sigul.h * add thanks * edit: moving to userspace enum, define and process_records * add enum and defines * add process_records * cleaning code after moving code to user space * add process_records * cleaning code * adding rules to manage secrets * remove secretes * first commit * add macro timer * add keycodes macro * edit custom keycodes order * add strings to send inside the secrets array * remove codes for secrets & change secret to secrets * edit secrets keycodes * edit keycodes names and order * add secrets.h and secrets.c * add #pragma once Co-Authored-By: Joel Challis <git@zvecr.com> * Update .gitignore Co-Authored-By: Joel Challis <git@zvecr.com> * add local gitignore for secrets * remove secrets * update for secrets * change FN_D to IT_D * remove FN_D definition Co-authored-by: pisilvio <silvio@picampus.it> Co-authored-by: admin <admin@admins-MacBook-Pro.local> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com>
4 years ago
[Keymap] Sigul planck (#8546) * remove IT_PIPE duplicate and add IT_GRAD IT_PIPE was declared 2 times, ones as ° and once as |. I changed the first declaration and called it IT_GRAD. I even fixed the definition because the ° in Italian is obtained with LSFT(IT_AACC) * rename IT_GRAD to IT_DEGR * fix missing music mode legend * add missing plus_and_minus * fix missing IT_ACUT definition * change KC_LALT(KC_LSFT to LALT(LSFT * Fix alignment * remove leftover * fix issue generated with chars while pushing * fix typo * add sigul folder in Planck keymaps * fix LCBR and RCBR * fix euro symbol * fix RBRC * change IT_LESS form KC_NUBS to KC_GRAVE * add IT_TILDE and change IT_GRAV to IT_GRAVE * initial commit * add ideas to readme * comment key lock * add a bunch of new features as stated in readme.md * check features added and list to do * add macros on RAISE * add F keys on numbers row on FN layer * flag features added * fix macro formulas * move DESK and SGCOM under D and S * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck fix spaces for readability * add missing legends for accented vowels * format for readability * move MOUSE button on B (same key that activates it) on MOUSE layer * revert to commit befor I edit it * initial commit * edited to be easier to compare to _ansi.h * remove keymap_italian_osx_iso.h and rename with edits keymap_italian_osx_ansi.h to keymap_italian_osx.h I found out there were no difference at all * fix missing #endif * change the included file from italian.h to italian_osx.h * fix debug key * edit Numapd layer, add enter and bsps * change TAPPING_TOGGLE from 2 to 3 * change italian_osx.h to italian_ansi.h * rename quantum/keymap_extras/keymap_italian_osx.h to quantum/keymap_extras/keymap_italian_ansi.h Now this file is a clone of the keymap_italian.h that appears to be working only for ISO keyboards. It also contains a few improvements for IT_PIPE (defined two times) and IT_ACUT (missing definition). Additionally it redefines LCBR and RCBR to LSFT(IT_LBRC) and LSFT(IT_RBRC) * rename file * redefines IT_BKSL and IT_PIPE based on KC_BKSL * merge new italian * add new osx_iso and osx_ansi version for italian.h and align BKSL to BSLS, fix double definition of PIPE * rename BKSL to BSLS * add FN_D and some comments * add MOUSEKEY configuration * update * edit swap =/+ with ò/ì * merge with master * add MS_B to have _MOUSE when pressing B * move RAISE on _FN * add phone number * remove CONTRA folder * remove CONTRA folder * Update keyboards/planck/keymaps/sigul/keymap.c fix include definition Co-Authored-By: Ryan <fauxpark@gmail.com> * remove default planck kemap * remove extern keymap_config_t keymap_config; based on suggestion from @fauxpark, It's not needed as it should already be externed through one of the includes provided by QMK_KEYBOARD_H. Co-Authored-By: Ryan <fauxpark@gmail.com> * add user space for user sigul * remove custom config moved to user space sigul * comment tri layers state (moved to user space) * remove tri layers update comment (code moved in user space) * add secrets * move enum and define to userspace * Edit title * move enum and define to sigul.h * add thanks * edit: moving to userspace enum, define and process_records * add enum and defines * add process_records * cleaning code after moving code to user space * add process_records * cleaning code * adding rules to manage secrets * remove secretes * first commit * add macro timer * add keycodes macro * edit custom keycodes order * add strings to send inside the secrets array * remove codes for secrets & change secret to secrets * edit secrets keycodes * edit keycodes names and order * add secrets.h and secrets.c * add #pragma once Co-Authored-By: Joel Challis <git@zvecr.com> * Update .gitignore Co-Authored-By: Joel Challis <git@zvecr.com> * add local gitignore for secrets * remove secrets * update for secrets * change FN_D to IT_D * remove FN_D definition Co-authored-by: pisilvio <silvio@picampus.it> Co-authored-by: admin <admin@admins-MacBook-Pro.local> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com>
4 years ago
[Keymap] Sigul planck (#8546) * remove IT_PIPE duplicate and add IT_GRAD IT_PIPE was declared 2 times, ones as ° and once as |. I changed the first declaration and called it IT_GRAD. I even fixed the definition because the ° in Italian is obtained with LSFT(IT_AACC) * rename IT_GRAD to IT_DEGR * fix missing music mode legend * add missing plus_and_minus * fix missing IT_ACUT definition * change KC_LALT(KC_LSFT to LALT(LSFT * Fix alignment * remove leftover * fix issue generated with chars while pushing * fix typo * add sigul folder in Planck keymaps * fix LCBR and RCBR * fix euro symbol * fix RBRC * change IT_LESS form KC_NUBS to KC_GRAVE * add IT_TILDE and change IT_GRAV to IT_GRAVE * initial commit * add ideas to readme * comment key lock * add a bunch of new features as stated in readme.md * check features added and list to do * add macros on RAISE * add F keys on numbers row on FN layer * flag features added * fix macro formulas * move DESK and SGCOM under D and S * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck fix spaces for readability * add missing legends for accented vowels * format for readability * move MOUSE button on B (same key that activates it) on MOUSE layer * revert to commit befor I edit it * initial commit * edited to be easier to compare to _ansi.h * remove keymap_italian_osx_iso.h and rename with edits keymap_italian_osx_ansi.h to keymap_italian_osx.h I found out there were no difference at all * fix missing #endif * change the included file from italian.h to italian_osx.h * fix debug key * edit Numapd layer, add enter and bsps * change TAPPING_TOGGLE from 2 to 3 * change italian_osx.h to italian_ansi.h * rename quantum/keymap_extras/keymap_italian_osx.h to quantum/keymap_extras/keymap_italian_ansi.h Now this file is a clone of the keymap_italian.h that appears to be working only for ISO keyboards. It also contains a few improvements for IT_PIPE (defined two times) and IT_ACUT (missing definition). Additionally it redefines LCBR and RCBR to LSFT(IT_LBRC) and LSFT(IT_RBRC) * rename file * redefines IT_BKSL and IT_PIPE based on KC_BKSL * merge new italian * add new osx_iso and osx_ansi version for italian.h and align BKSL to BSLS, fix double definition of PIPE * rename BKSL to BSLS * add FN_D and some comments * add MOUSEKEY configuration * update * edit swap =/+ with ò/ì * merge with master * add MS_B to have _MOUSE when pressing B * move RAISE on _FN * add phone number * remove CONTRA folder * remove CONTRA folder * Update keyboards/planck/keymaps/sigul/keymap.c fix include definition Co-Authored-By: Ryan <fauxpark@gmail.com> * remove default planck kemap * remove extern keymap_config_t keymap_config; based on suggestion from @fauxpark, It's not needed as it should already be externed through one of the includes provided by QMK_KEYBOARD_H. Co-Authored-By: Ryan <fauxpark@gmail.com> * add user space for user sigul * remove custom config moved to user space sigul * comment tri layers state (moved to user space) * remove tri layers update comment (code moved in user space) * add secrets * move enum and define to userspace * Edit title * move enum and define to sigul.h * add thanks * edit: moving to userspace enum, define and process_records * add enum and defines * add process_records * cleaning code after moving code to user space * add process_records * cleaning code * adding rules to manage secrets * remove secretes * first commit * add macro timer * add keycodes macro * edit custom keycodes order * add strings to send inside the secrets array * remove codes for secrets & change secret to secrets * edit secrets keycodes * edit keycodes names and order * add secrets.h and secrets.c * add #pragma once Co-Authored-By: Joel Challis <git@zvecr.com> * Update .gitignore Co-Authored-By: Joel Challis <git@zvecr.com> * add local gitignore for secrets * remove secrets * update for secrets * change FN_D to IT_D * remove FN_D definition Co-authored-by: pisilvio <silvio@picampus.it> Co-authored-by: admin <admin@admins-MacBook-Pro.local> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com>
4 years ago
[Keymap] Sigul planck (#8546) * remove IT_PIPE duplicate and add IT_GRAD IT_PIPE was declared 2 times, ones as ° and once as |. I changed the first declaration and called it IT_GRAD. I even fixed the definition because the ° in Italian is obtained with LSFT(IT_AACC) * rename IT_GRAD to IT_DEGR * fix missing music mode legend * add missing plus_and_minus * fix missing IT_ACUT definition * change KC_LALT(KC_LSFT to LALT(LSFT * Fix alignment * remove leftover * fix issue generated with chars while pushing * fix typo * add sigul folder in Planck keymaps * fix LCBR and RCBR * fix euro symbol * fix RBRC * change IT_LESS form KC_NUBS to KC_GRAVE * add IT_TILDE and change IT_GRAV to IT_GRAVE * initial commit * add ideas to readme * comment key lock * add a bunch of new features as stated in readme.md * check features added and list to do * add macros on RAISE * add F keys on numbers row on FN layer * flag features added * fix macro formulas * move DESK and SGCOM under D and S * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck fix spaces for readability * add missing legends for accented vowels * format for readability * move MOUSE button on B (same key that activates it) on MOUSE layer * revert to commit befor I edit it * initial commit * edited to be easier to compare to _ansi.h * remove keymap_italian_osx_iso.h and rename with edits keymap_italian_osx_ansi.h to keymap_italian_osx.h I found out there were no difference at all * fix missing #endif * change the included file from italian.h to italian_osx.h * fix debug key * edit Numapd layer, add enter and bsps * change TAPPING_TOGGLE from 2 to 3 * change italian_osx.h to italian_ansi.h * rename quantum/keymap_extras/keymap_italian_osx.h to quantum/keymap_extras/keymap_italian_ansi.h Now this file is a clone of the keymap_italian.h that appears to be working only for ISO keyboards. It also contains a few improvements for IT_PIPE (defined two times) and IT_ACUT (missing definition). Additionally it redefines LCBR and RCBR to LSFT(IT_LBRC) and LSFT(IT_RBRC) * rename file * redefines IT_BKSL and IT_PIPE based on KC_BKSL * merge new italian * add new osx_iso and osx_ansi version for italian.h and align BKSL to BSLS, fix double definition of PIPE * rename BKSL to BSLS * add FN_D and some comments * add MOUSEKEY configuration * update * edit swap =/+ with ò/ì * merge with master * add MS_B to have _MOUSE when pressing B * move RAISE on _FN * add phone number * remove CONTRA folder * remove CONTRA folder * Update keyboards/planck/keymaps/sigul/keymap.c fix include definition Co-Authored-By: Ryan <fauxpark@gmail.com> * remove default planck kemap * remove extern keymap_config_t keymap_config; based on suggestion from @fauxpark, It's not needed as it should already be externed through one of the includes provided by QMK_KEYBOARD_H. Co-Authored-By: Ryan <fauxpark@gmail.com> * add user space for user sigul * remove custom config moved to user space sigul * comment tri layers state (moved to user space) * remove tri layers update comment (code moved in user space) * add secrets * move enum and define to userspace * Edit title * move enum and define to sigul.h * add thanks * edit: moving to userspace enum, define and process_records * add enum and defines * add process_records * cleaning code after moving code to user space * add process_records * cleaning code * adding rules to manage secrets * remove secretes * first commit * add macro timer * add keycodes macro * edit custom keycodes order * add strings to send inside the secrets array * remove codes for secrets & change secret to secrets * edit secrets keycodes * edit keycodes names and order * add secrets.h and secrets.c * add #pragma once Co-Authored-By: Joel Challis <git@zvecr.com> * Update .gitignore Co-Authored-By: Joel Challis <git@zvecr.com> * add local gitignore for secrets * remove secrets * update for secrets * change FN_D to IT_D * remove FN_D definition Co-authored-by: pisilvio <silvio@picampus.it> Co-authored-by: admin <admin@admins-MacBook-Pro.local> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com>
4 years ago
[Keymap] Sigul planck (#8546) * remove IT_PIPE duplicate and add IT_GRAD IT_PIPE was declared 2 times, ones as ° and once as |. I changed the first declaration and called it IT_GRAD. I even fixed the definition because the ° in Italian is obtained with LSFT(IT_AACC) * rename IT_GRAD to IT_DEGR * fix missing music mode legend * add missing plus_and_minus * fix missing IT_ACUT definition * change KC_LALT(KC_LSFT to LALT(LSFT * Fix alignment * remove leftover * fix issue generated with chars while pushing * fix typo * add sigul folder in Planck keymaps * fix LCBR and RCBR * fix euro symbol * fix RBRC * change IT_LESS form KC_NUBS to KC_GRAVE * add IT_TILDE and change IT_GRAV to IT_GRAVE * initial commit * add ideas to readme * comment key lock * add a bunch of new features as stated in readme.md * check features added and list to do * add macros on RAISE * add F keys on numbers row on FN layer * flag features added * fix macro formulas * move DESK and SGCOM under D and S * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck fix spaces for readability * add missing legends for accented vowels * format for readability * move MOUSE button on B (same key that activates it) on MOUSE layer * revert to commit befor I edit it * initial commit * edited to be easier to compare to _ansi.h * remove keymap_italian_osx_iso.h and rename with edits keymap_italian_osx_ansi.h to keymap_italian_osx.h I found out there were no difference at all * fix missing #endif * change the included file from italian.h to italian_osx.h * fix debug key * edit Numapd layer, add enter and bsps * change TAPPING_TOGGLE from 2 to 3 * change italian_osx.h to italian_ansi.h * rename quantum/keymap_extras/keymap_italian_osx.h to quantum/keymap_extras/keymap_italian_ansi.h Now this file is a clone of the keymap_italian.h that appears to be working only for ISO keyboards. It also contains a few improvements for IT_PIPE (defined two times) and IT_ACUT (missing definition). Additionally it redefines LCBR and RCBR to LSFT(IT_LBRC) and LSFT(IT_RBRC) * rename file * redefines IT_BKSL and IT_PIPE based on KC_BKSL * merge new italian * add new osx_iso and osx_ansi version for italian.h and align BKSL to BSLS, fix double definition of PIPE * rename BKSL to BSLS * add FN_D and some comments * add MOUSEKEY configuration * update * edit swap =/+ with ò/ì * merge with master * add MS_B to have _MOUSE when pressing B * move RAISE on _FN * add phone number * remove CONTRA folder * remove CONTRA folder * Update keyboards/planck/keymaps/sigul/keymap.c fix include definition Co-Authored-By: Ryan <fauxpark@gmail.com> * remove default planck kemap * remove extern keymap_config_t keymap_config; based on suggestion from @fauxpark, It's not needed as it should already be externed through one of the includes provided by QMK_KEYBOARD_H. Co-Authored-By: Ryan <fauxpark@gmail.com> * add user space for user sigul * remove custom config moved to user space sigul * comment tri layers state (moved to user space) * remove tri layers update comment (code moved in user space) * add secrets * move enum and define to userspace * Edit title * move enum and define to sigul.h * add thanks * edit: moving to userspace enum, define and process_records * add enum and defines * add process_records * cleaning code after moving code to user space * add process_records * cleaning code * adding rules to manage secrets * remove secretes * first commit * add macro timer * add keycodes macro * edit custom keycodes order * add strings to send inside the secrets array * remove codes for secrets & change secret to secrets * edit secrets keycodes * edit keycodes names and order * add secrets.h and secrets.c * add #pragma once Co-Authored-By: Joel Challis <git@zvecr.com> * Update .gitignore Co-Authored-By: Joel Challis <git@zvecr.com> * add local gitignore for secrets * remove secrets * update for secrets * change FN_D to IT_D * remove FN_D definition Co-authored-by: pisilvio <silvio@picampus.it> Co-authored-by: admin <admin@admins-MacBook-Pro.local> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com>
4 years ago
[Keymap] Sigul planck (#8546) * remove IT_PIPE duplicate and add IT_GRAD IT_PIPE was declared 2 times, ones as ° and once as |. I changed the first declaration and called it IT_GRAD. I even fixed the definition because the ° in Italian is obtained with LSFT(IT_AACC) * rename IT_GRAD to IT_DEGR * fix missing music mode legend * add missing plus_and_minus * fix missing IT_ACUT definition * change KC_LALT(KC_LSFT to LALT(LSFT * Fix alignment * remove leftover * fix issue generated with chars while pushing * fix typo * add sigul folder in Planck keymaps * fix LCBR and RCBR * fix euro symbol * fix RBRC * change IT_LESS form KC_NUBS to KC_GRAVE * add IT_TILDE and change IT_GRAV to IT_GRAVE * initial commit * add ideas to readme * comment key lock * add a bunch of new features as stated in readme.md * check features added and list to do * add macros on RAISE * add F keys on numbers row on FN layer * flag features added * fix macro formulas * move DESK and SGCOM under D and S * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck fix spaces for readability * add missing legends for accented vowels * format for readability * move MOUSE button on B (same key that activates it) on MOUSE layer * revert to commit befor I edit it * initial commit * edited to be easier to compare to _ansi.h * remove keymap_italian_osx_iso.h and rename with edits keymap_italian_osx_ansi.h to keymap_italian_osx.h I found out there were no difference at all * fix missing #endif * change the included file from italian.h to italian_osx.h * fix debug key * edit Numapd layer, add enter and bsps * change TAPPING_TOGGLE from 2 to 3 * change italian_osx.h to italian_ansi.h * rename quantum/keymap_extras/keymap_italian_osx.h to quantum/keymap_extras/keymap_italian_ansi.h Now this file is a clone of the keymap_italian.h that appears to be working only for ISO keyboards. It also contains a few improvements for IT_PIPE (defined two times) and IT_ACUT (missing definition). Additionally it redefines LCBR and RCBR to LSFT(IT_LBRC) and LSFT(IT_RBRC) * rename file * redefines IT_BKSL and IT_PIPE based on KC_BKSL * merge new italian * add new osx_iso and osx_ansi version for italian.h and align BKSL to BSLS, fix double definition of PIPE * rename BKSL to BSLS * add FN_D and some comments * add MOUSEKEY configuration * update * edit swap =/+ with ò/ì * merge with master * add MS_B to have _MOUSE when pressing B * move RAISE on _FN * add phone number * remove CONTRA folder * remove CONTRA folder * Update keyboards/planck/keymaps/sigul/keymap.c fix include definition Co-Authored-By: Ryan <fauxpark@gmail.com> * remove default planck kemap * remove extern keymap_config_t keymap_config; based on suggestion from @fauxpark, It's not needed as it should already be externed through one of the includes provided by QMK_KEYBOARD_H. Co-Authored-By: Ryan <fauxpark@gmail.com> * add user space for user sigul * remove custom config moved to user space sigul * comment tri layers state (moved to user space) * remove tri layers update comment (code moved in user space) * add secrets * move enum and define to userspace * Edit title * move enum and define to sigul.h * add thanks * edit: moving to userspace enum, define and process_records * add enum and defines * add process_records * cleaning code after moving code to user space * add process_records * cleaning code * adding rules to manage secrets * remove secretes * first commit * add macro timer * add keycodes macro * edit custom keycodes order * add strings to send inside the secrets array * remove codes for secrets & change secret to secrets * edit secrets keycodes * edit keycodes names and order * add secrets.h and secrets.c * add #pragma once Co-Authored-By: Joel Challis <git@zvecr.com> * Update .gitignore Co-Authored-By: Joel Challis <git@zvecr.com> * add local gitignore for secrets * remove secrets * update for secrets * change FN_D to IT_D * remove FN_D definition Co-authored-by: pisilvio <silvio@picampus.it> Co-authored-by: admin <admin@admins-MacBook-Pro.local> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com>
4 years ago
[Keymap] Sigul planck (#8546) * remove IT_PIPE duplicate and add IT_GRAD IT_PIPE was declared 2 times, ones as ° and once as |. I changed the first declaration and called it IT_GRAD. I even fixed the definition because the ° in Italian is obtained with LSFT(IT_AACC) * rename IT_GRAD to IT_DEGR * fix missing music mode legend * add missing plus_and_minus * fix missing IT_ACUT definition * change KC_LALT(KC_LSFT to LALT(LSFT * Fix alignment * remove leftover * fix issue generated with chars while pushing * fix typo * add sigul folder in Planck keymaps * fix LCBR and RCBR * fix euro symbol * fix RBRC * change IT_LESS form KC_NUBS to KC_GRAVE * add IT_TILDE and change IT_GRAV to IT_GRAVE * initial commit * add ideas to readme * comment key lock * add a bunch of new features as stated in readme.md * check features added and list to do * add macros on RAISE * add F keys on numbers row on FN layer * flag features added * fix macro formulas * move DESK and SGCOM under D and S * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck fix spaces for readability * add missing legends for accented vowels * format for readability * move MOUSE button on B (same key that activates it) on MOUSE layer * revert to commit befor I edit it * initial commit * edited to be easier to compare to _ansi.h * remove keymap_italian_osx_iso.h and rename with edits keymap_italian_osx_ansi.h to keymap_italian_osx.h I found out there were no difference at all * fix missing #endif * change the included file from italian.h to italian_osx.h * fix debug key * edit Numapd layer, add enter and bsps * change TAPPING_TOGGLE from 2 to 3 * change italian_osx.h to italian_ansi.h * rename quantum/keymap_extras/keymap_italian_osx.h to quantum/keymap_extras/keymap_italian_ansi.h Now this file is a clone of the keymap_italian.h that appears to be working only for ISO keyboards. It also contains a few improvements for IT_PIPE (defined two times) and IT_ACUT (missing definition). Additionally it redefines LCBR and RCBR to LSFT(IT_LBRC) and LSFT(IT_RBRC) * rename file * redefines IT_BKSL and IT_PIPE based on KC_BKSL * merge new italian * add new osx_iso and osx_ansi version for italian.h and align BKSL to BSLS, fix double definition of PIPE * rename BKSL to BSLS * add FN_D and some comments * add MOUSEKEY configuration * update * edit swap =/+ with ò/ì * merge with master * add MS_B to have _MOUSE when pressing B * move RAISE on _FN * add phone number * remove CONTRA folder * remove CONTRA folder * Update keyboards/planck/keymaps/sigul/keymap.c fix include definition Co-Authored-By: Ryan <fauxpark@gmail.com> * remove default planck kemap * remove extern keymap_config_t keymap_config; based on suggestion from @fauxpark, It's not needed as it should already be externed through one of the includes provided by QMK_KEYBOARD_H. Co-Authored-By: Ryan <fauxpark@gmail.com> * add user space for user sigul * remove custom config moved to user space sigul * comment tri layers state (moved to user space) * remove tri layers update comment (code moved in user space) * add secrets * move enum and define to userspace * Edit title * move enum and define to sigul.h * add thanks * edit: moving to userspace enum, define and process_records * add enum and defines * add process_records * cleaning code after moving code to user space * add process_records * cleaning code * adding rules to manage secrets * remove secretes * first commit * add macro timer * add keycodes macro * edit custom keycodes order * add strings to send inside the secrets array * remove codes for secrets & change secret to secrets * edit secrets keycodes * edit keycodes names and order * add secrets.h and secrets.c * add #pragma once Co-Authored-By: Joel Challis <git@zvecr.com> * Update .gitignore Co-Authored-By: Joel Challis <git@zvecr.com> * add local gitignore for secrets * remove secrets * update for secrets * change FN_D to IT_D * remove FN_D definition Co-authored-by: pisilvio <silvio@picampus.it> Co-authored-by: admin <admin@admins-MacBook-Pro.local> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com>
4 years ago
[Keymap] Sigul planck (#8546) * remove IT_PIPE duplicate and add IT_GRAD IT_PIPE was declared 2 times, ones as ° and once as |. I changed the first declaration and called it IT_GRAD. I even fixed the definition because the ° in Italian is obtained with LSFT(IT_AACC) * rename IT_GRAD to IT_DEGR * fix missing music mode legend * add missing plus_and_minus * fix missing IT_ACUT definition * change KC_LALT(KC_LSFT to LALT(LSFT * Fix alignment * remove leftover * fix issue generated with chars while pushing * fix typo * add sigul folder in Planck keymaps * fix LCBR and RCBR * fix euro symbol * fix RBRC * change IT_LESS form KC_NUBS to KC_GRAVE * add IT_TILDE and change IT_GRAV to IT_GRAVE * initial commit * add ideas to readme * comment key lock * add a bunch of new features as stated in readme.md * check features added and list to do * add macros on RAISE * add F keys on numbers row on FN layer * flag features added * fix macro formulas * move DESK and SGCOM under D and S * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck fix spaces for readability * add missing legends for accented vowels * format for readability * move MOUSE button on B (same key that activates it) on MOUSE layer * revert to commit befor I edit it * initial commit * edited to be easier to compare to _ansi.h * remove keymap_italian_osx_iso.h and rename with edits keymap_italian_osx_ansi.h to keymap_italian_osx.h I found out there were no difference at all * fix missing #endif * change the included file from italian.h to italian_osx.h * fix debug key * edit Numapd layer, add enter and bsps * change TAPPING_TOGGLE from 2 to 3 * change italian_osx.h to italian_ansi.h * rename quantum/keymap_extras/keymap_italian_osx.h to quantum/keymap_extras/keymap_italian_ansi.h Now this file is a clone of the keymap_italian.h that appears to be working only for ISO keyboards. It also contains a few improvements for IT_PIPE (defined two times) and IT_ACUT (missing definition). Additionally it redefines LCBR and RCBR to LSFT(IT_LBRC) and LSFT(IT_RBRC) * rename file * redefines IT_BKSL and IT_PIPE based on KC_BKSL * merge new italian * add new osx_iso and osx_ansi version for italian.h and align BKSL to BSLS, fix double definition of PIPE * rename BKSL to BSLS * add FN_D and some comments * add MOUSEKEY configuration * update * edit swap =/+ with ò/ì * merge with master * add MS_B to have _MOUSE when pressing B * move RAISE on _FN * add phone number * remove CONTRA folder * remove CONTRA folder * Update keyboards/planck/keymaps/sigul/keymap.c fix include definition Co-Authored-By: Ryan <fauxpark@gmail.com> * remove default planck kemap * remove extern keymap_config_t keymap_config; based on suggestion from @fauxpark, It's not needed as it should already be externed through one of the includes provided by QMK_KEYBOARD_H. Co-Authored-By: Ryan <fauxpark@gmail.com> * add user space for user sigul * remove custom config moved to user space sigul * comment tri layers state (moved to user space) * remove tri layers update comment (code moved in user space) * add secrets * move enum and define to userspace * Edit title * move enum and define to sigul.h * add thanks * edit: moving to userspace enum, define and process_records * add enum and defines * add process_records * cleaning code after moving code to user space * add process_records * cleaning code * adding rules to manage secrets * remove secretes * first commit * add macro timer * add keycodes macro * edit custom keycodes order * add strings to send inside the secrets array * remove codes for secrets & change secret to secrets * edit secrets keycodes * edit keycodes names and order * add secrets.h and secrets.c * add #pragma once Co-Authored-By: Joel Challis <git@zvecr.com> * Update .gitignore Co-Authored-By: Joel Challis <git@zvecr.com> * add local gitignore for secrets * remove secrets * update for secrets * change FN_D to IT_D * remove FN_D definition Co-authored-by: pisilvio <silvio@picampus.it> Co-authored-by: admin <admin@admins-MacBook-Pro.local> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com>
4 years ago
[Keymap] Sigul planck (#8546) * remove IT_PIPE duplicate and add IT_GRAD IT_PIPE was declared 2 times, ones as ° and once as |. I changed the first declaration and called it IT_GRAD. I even fixed the definition because the ° in Italian is obtained with LSFT(IT_AACC) * rename IT_GRAD to IT_DEGR * fix missing music mode legend * add missing plus_and_minus * fix missing IT_ACUT definition * change KC_LALT(KC_LSFT to LALT(LSFT * Fix alignment * remove leftover * fix issue generated with chars while pushing * fix typo * add sigul folder in Planck keymaps * fix LCBR and RCBR * fix euro symbol * fix RBRC * change IT_LESS form KC_NUBS to KC_GRAVE * add IT_TILDE and change IT_GRAV to IT_GRAVE * initial commit * add ideas to readme * comment key lock * add a bunch of new features as stated in readme.md * check features added and list to do * add macros on RAISE * add F keys on numbers row on FN layer * flag features added * fix macro formulas * move DESK and SGCOM under D and S * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck fix spaces for readability * add missing legends for accented vowels * format for readability * move MOUSE button on B (same key that activates it) on MOUSE layer * revert to commit befor I edit it * initial commit * edited to be easier to compare to _ansi.h * remove keymap_italian_osx_iso.h and rename with edits keymap_italian_osx_ansi.h to keymap_italian_osx.h I found out there were no difference at all * fix missing #endif * change the included file from italian.h to italian_osx.h * fix debug key * edit Numapd layer, add enter and bsps * change TAPPING_TOGGLE from 2 to 3 * change italian_osx.h to italian_ansi.h * rename quantum/keymap_extras/keymap_italian_osx.h to quantum/keymap_extras/keymap_italian_ansi.h Now this file is a clone of the keymap_italian.h that appears to be working only for ISO keyboards. It also contains a few improvements for IT_PIPE (defined two times) and IT_ACUT (missing definition). Additionally it redefines LCBR and RCBR to LSFT(IT_LBRC) and LSFT(IT_RBRC) * rename file * redefines IT_BKSL and IT_PIPE based on KC_BKSL * merge new italian * add new osx_iso and osx_ansi version for italian.h and align BKSL to BSLS, fix double definition of PIPE * rename BKSL to BSLS * add FN_D and some comments * add MOUSEKEY configuration * update * edit swap =/+ with ò/ì * merge with master * add MS_B to have _MOUSE when pressing B * move RAISE on _FN * add phone number * remove CONTRA folder * remove CONTRA folder * Update keyboards/planck/keymaps/sigul/keymap.c fix include definition Co-Authored-By: Ryan <fauxpark@gmail.com> * remove default planck kemap * remove extern keymap_config_t keymap_config; based on suggestion from @fauxpark, It's not needed as it should already be externed through one of the includes provided by QMK_KEYBOARD_H. Co-Authored-By: Ryan <fauxpark@gmail.com> * add user space for user sigul * remove custom config moved to user space sigul * comment tri layers state (moved to user space) * remove tri layers update comment (code moved in user space) * add secrets * move enum and define to userspace * Edit title * move enum and define to sigul.h * add thanks * edit: moving to userspace enum, define and process_records * add enum and defines * add process_records * cleaning code after moving code to user space * add process_records * cleaning code * adding rules to manage secrets * remove secretes * first commit * add macro timer * add keycodes macro * edit custom keycodes order * add strings to send inside the secrets array * remove codes for secrets & change secret to secrets * edit secrets keycodes * edit keycodes names and order * add secrets.h and secrets.c * add #pragma once Co-Authored-By: Joel Challis <git@zvecr.com> * Update .gitignore Co-Authored-By: Joel Challis <git@zvecr.com> * add local gitignore for secrets * remove secrets * update for secrets * change FN_D to IT_D * remove FN_D definition Co-authored-by: pisilvio <silvio@picampus.it> Co-authored-by: admin <admin@admins-MacBook-Pro.local> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com>
4 years ago
[Keymap] Sigul planck (#8546) * remove IT_PIPE duplicate and add IT_GRAD IT_PIPE was declared 2 times, ones as ° and once as |. I changed the first declaration and called it IT_GRAD. I even fixed the definition because the ° in Italian is obtained with LSFT(IT_AACC) * rename IT_GRAD to IT_DEGR * fix missing music mode legend * add missing plus_and_minus * fix missing IT_ACUT definition * change KC_LALT(KC_LSFT to LALT(LSFT * Fix alignment * remove leftover * fix issue generated with chars while pushing * fix typo * add sigul folder in Planck keymaps * fix LCBR and RCBR * fix euro symbol * fix RBRC * change IT_LESS form KC_NUBS to KC_GRAVE * add IT_TILDE and change IT_GRAV to IT_GRAVE * initial commit * add ideas to readme * comment key lock * add a bunch of new features as stated in readme.md * check features added and list to do * add macros on RAISE * add F keys on numbers row on FN layer * flag features added * fix macro formulas * move DESK and SGCOM under D and S * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck fix spaces for readability * add missing legends for accented vowels * format for readability * move MOUSE button on B (same key that activates it) on MOUSE layer * revert to commit befor I edit it * initial commit * edited to be easier to compare to _ansi.h * remove keymap_italian_osx_iso.h and rename with edits keymap_italian_osx_ansi.h to keymap_italian_osx.h I found out there were no difference at all * fix missing #endif * change the included file from italian.h to italian_osx.h * fix debug key * edit Numapd layer, add enter and bsps * change TAPPING_TOGGLE from 2 to 3 * change italian_osx.h to italian_ansi.h * rename quantum/keymap_extras/keymap_italian_osx.h to quantum/keymap_extras/keymap_italian_ansi.h Now this file is a clone of the keymap_italian.h that appears to be working only for ISO keyboards. It also contains a few improvements for IT_PIPE (defined two times) and IT_ACUT (missing definition). Additionally it redefines LCBR and RCBR to LSFT(IT_LBRC) and LSFT(IT_RBRC) * rename file * redefines IT_BKSL and IT_PIPE based on KC_BKSL * merge new italian * add new osx_iso and osx_ansi version for italian.h and align BKSL to BSLS, fix double definition of PIPE * rename BKSL to BSLS * add FN_D and some comments * add MOUSEKEY configuration * update * edit swap =/+ with ò/ì * merge with master * add MS_B to have _MOUSE when pressing B * move RAISE on _FN * add phone number * remove CONTRA folder * remove CONTRA folder * Update keyboards/planck/keymaps/sigul/keymap.c fix include definition Co-Authored-By: Ryan <fauxpark@gmail.com> * remove default planck kemap * remove extern keymap_config_t keymap_config; based on suggestion from @fauxpark, It's not needed as it should already be externed through one of the includes provided by QMK_KEYBOARD_H. Co-Authored-By: Ryan <fauxpark@gmail.com> * add user space for user sigul * remove custom config moved to user space sigul * comment tri layers state (moved to user space) * remove tri layers update comment (code moved in user space) * add secrets * move enum and define to userspace * Edit title * move enum and define to sigul.h * add thanks * edit: moving to userspace enum, define and process_records * add enum and defines * add process_records * cleaning code after moving code to user space * add process_records * cleaning code * adding rules to manage secrets * remove secretes * first commit * add macro timer * add keycodes macro * edit custom keycodes order * add strings to send inside the secrets array * remove codes for secrets & change secret to secrets * edit secrets keycodes * edit keycodes names and order * add secrets.h and secrets.c * add #pragma once Co-Authored-By: Joel Challis <git@zvecr.com> * Update .gitignore Co-Authored-By: Joel Challis <git@zvecr.com> * add local gitignore for secrets * remove secrets * update for secrets * change FN_D to IT_D * remove FN_D definition Co-authored-by: pisilvio <silvio@picampus.it> Co-authored-by: admin <admin@admins-MacBook-Pro.local> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com>
4 years ago
[Keymap] Sigul planck (#8546) * remove IT_PIPE duplicate and add IT_GRAD IT_PIPE was declared 2 times, ones as ° and once as |. I changed the first declaration and called it IT_GRAD. I even fixed the definition because the ° in Italian is obtained with LSFT(IT_AACC) * rename IT_GRAD to IT_DEGR * fix missing music mode legend * add missing plus_and_minus * fix missing IT_ACUT definition * change KC_LALT(KC_LSFT to LALT(LSFT * Fix alignment * remove leftover * fix issue generated with chars while pushing * fix typo * add sigul folder in Planck keymaps * fix LCBR and RCBR * fix euro symbol * fix RBRC * change IT_LESS form KC_NUBS to KC_GRAVE * add IT_TILDE and change IT_GRAV to IT_GRAVE * initial commit * add ideas to readme * comment key lock * add a bunch of new features as stated in readme.md * check features added and list to do * add macros on RAISE * add F keys on numbers row on FN layer * flag features added * fix macro formulas * move DESK and SGCOM under D and S * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck fix spaces for readability * add missing legends for accented vowels * format for readability * move MOUSE button on B (same key that activates it) on MOUSE layer * revert to commit befor I edit it * initial commit * edited to be easier to compare to _ansi.h * remove keymap_italian_osx_iso.h and rename with edits keymap_italian_osx_ansi.h to keymap_italian_osx.h I found out there were no difference at all * fix missing #endif * change the included file from italian.h to italian_osx.h * fix debug key * edit Numapd layer, add enter and bsps * change TAPPING_TOGGLE from 2 to 3 * change italian_osx.h to italian_ansi.h * rename quantum/keymap_extras/keymap_italian_osx.h to quantum/keymap_extras/keymap_italian_ansi.h Now this file is a clone of the keymap_italian.h that appears to be working only for ISO keyboards. It also contains a few improvements for IT_PIPE (defined two times) and IT_ACUT (missing definition). Additionally it redefines LCBR and RCBR to LSFT(IT_LBRC) and LSFT(IT_RBRC) * rename file * redefines IT_BKSL and IT_PIPE based on KC_BKSL * merge new italian * add new osx_iso and osx_ansi version for italian.h and align BKSL to BSLS, fix double definition of PIPE * rename BKSL to BSLS * add FN_D and some comments * add MOUSEKEY configuration * update * edit swap =/+ with ò/ì * merge with master * add MS_B to have _MOUSE when pressing B * move RAISE on _FN * add phone number * remove CONTRA folder * remove CONTRA folder * Update keyboards/planck/keymaps/sigul/keymap.c fix include definition Co-Authored-By: Ryan <fauxpark@gmail.com> * remove default planck kemap * remove extern keymap_config_t keymap_config; based on suggestion from @fauxpark, It's not needed as it should already be externed through one of the includes provided by QMK_KEYBOARD_H. Co-Authored-By: Ryan <fauxpark@gmail.com> * add user space for user sigul * remove custom config moved to user space sigul * comment tri layers state (moved to user space) * remove tri layers update comment (code moved in user space) * add secrets * move enum and define to userspace * Edit title * move enum and define to sigul.h * add thanks * edit: moving to userspace enum, define and process_records * add enum and defines * add process_records * cleaning code after moving code to user space * add process_records * cleaning code * adding rules to manage secrets * remove secretes * first commit * add macro timer * add keycodes macro * edit custom keycodes order * add strings to send inside the secrets array * remove codes for secrets & change secret to secrets * edit secrets keycodes * edit keycodes names and order * add secrets.h and secrets.c * add #pragma once Co-Authored-By: Joel Challis <git@zvecr.com> * Update .gitignore Co-Authored-By: Joel Challis <git@zvecr.com> * add local gitignore for secrets * remove secrets * update for secrets * change FN_D to IT_D * remove FN_D definition Co-authored-by: pisilvio <silvio@picampus.it> Co-authored-by: admin <admin@admins-MacBook-Pro.local> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com>
4 years ago
[Keymap] Sigul planck (#8546) * remove IT_PIPE duplicate and add IT_GRAD IT_PIPE was declared 2 times, ones as ° and once as |. I changed the first declaration and called it IT_GRAD. I even fixed the definition because the ° in Italian is obtained with LSFT(IT_AACC) * rename IT_GRAD to IT_DEGR * fix missing music mode legend * add missing plus_and_minus * fix missing IT_ACUT definition * change KC_LALT(KC_LSFT to LALT(LSFT * Fix alignment * remove leftover * fix issue generated with chars while pushing * fix typo * add sigul folder in Planck keymaps * fix LCBR and RCBR * fix euro symbol * fix RBRC * change IT_LESS form KC_NUBS to KC_GRAVE * add IT_TILDE and change IT_GRAV to IT_GRAVE * initial commit * add ideas to readme * comment key lock * add a bunch of new features as stated in readme.md * check features added and list to do * add macros on RAISE * add F keys on numbers row on FN layer * flag features added * fix macro formulas * move DESK and SGCOM under D and S * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck * invert IT_EACC and S(IT_EACC) to align the layout with that of the default Planck fix spaces for readability * add missing legends for accented vowels * format for readability * move MOUSE button on B (same key that activates it) on MOUSE layer * revert to commit befor I edit it * initial commit * edited to be easier to compare to _ansi.h * remove keymap_italian_osx_iso.h and rename with edits keymap_italian_osx_ansi.h to keymap_italian_osx.h I found out there were no difference at all * fix missing #endif * change the included file from italian.h to italian_osx.h * fix debug key * edit Numapd layer, add enter and bsps * change TAPPING_TOGGLE from 2 to 3 * change italian_osx.h to italian_ansi.h * rename quantum/keymap_extras/keymap_italian_osx.h to quantum/keymap_extras/keymap_italian_ansi.h Now this file is a clone of the keymap_italian.h that appears to be working only for ISO keyboards. It also contains a few improvements for IT_PIPE (defined two times) and IT_ACUT (missing definition). Additionally it redefines LCBR and RCBR to LSFT(IT_LBRC) and LSFT(IT_RBRC) * rename file * redefines IT_BKSL and IT_PIPE based on KC_BKSL * merge new italian * add new osx_iso and osx_ansi version for italian.h and align BKSL to BSLS, fix double definition of PIPE * rename BKSL to BSLS * add FN_D and some comments * add MOUSEKEY configuration * update * edit swap =/+ with ò/ì * merge with master * add MS_B to have _MOUSE when pressing B * move RAISE on _FN * add phone number * remove CONTRA folder * remove CONTRA folder * Update keyboards/planck/keymaps/sigul/keymap.c fix include definition Co-Authored-By: Ryan <fauxpark@gmail.com> * remove default planck kemap * remove extern keymap_config_t keymap_config; based on suggestion from @fauxpark, It's not needed as it should already be externed through one of the includes provided by QMK_KEYBOARD_H. Co-Authored-By: Ryan <fauxpark@gmail.com> * add user space for user sigul * remove custom config moved to user space sigul * comment tri layers state (moved to user space) * remove tri layers update comment (code moved in user space) * add secrets * move enum and define to userspace * Edit title * move enum and define to sigul.h * add thanks * edit: moving to userspace enum, define and process_records * add enum and defines * add process_records * cleaning code after moving code to user space * add process_records * cleaning code * adding rules to manage secrets * remove secretes * first commit * add macro timer * add keycodes macro * edit custom keycodes order * add strings to send inside the secrets array * remove codes for secrets & change secret to secrets * edit secrets keycodes * edit keycodes names and order * add secrets.h and secrets.c * add #pragma once Co-Authored-By: Joel Challis <git@zvecr.com> * Update .gitignore Co-Authored-By: Joel Challis <git@zvecr.com> * add local gitignore for secrets * remove secrets * update for secrets * change FN_D to IT_D * remove FN_D definition Co-authored-by: pisilvio <silvio@picampus.it> Co-authored-by: admin <admin@admins-MacBook-Pro.local> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com>
4 years ago
  1. #include "keymap_italian_mac_ansi.h"
  2. #include "sigul.h"
  3. __attribute__ ((weak))
  4. layer_state_t layer_state_set_keymap (layer_state_t state) {
  5. return state;
  6. }
  7. layer_state_t layer_state_set_user(layer_state_t state) {
  8. return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
  9. }
  10. __attribute__ ((weak))
  11. bool process_record_keymap(uint16_t keycode, keyrecord_t *record) {
  12. return true;
  13. }
  14. __attribute__ ((weak))
  15. bool process_record_secrets(uint16_t keycode, keyrecord_t *record) {
  16. return true;
  17. }
  18. bool process_record_user(uint16_t keycode, keyrecord_t *record) {
  19. switch (keycode) {
  20. case IT_SCCL:
  21. if (record->event.pressed){
  22. if (get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RIGHT_SHIFT)){
  23. register_code16(IT_COLN);
  24. } else {
  25. register_code16(IT_SCLN);
  26. }
  27. } else {
  28. unregister_code16(IT_COLN);
  29. unregister_code16(IT_SCLN);
  30. }
  31. return false;
  32. break;
  33. case IT_APDQ:
  34. if (record->event.pressed){
  35. if (get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RIGHT_SHIFT)){
  36. register_code16(IT_DQUO);
  37. } else {
  38. register_code16(IT_QUOT);
  39. }
  40. } else {
  41. unregister_code16(IT_DQUO);
  42. unregister_code16(IT_QUOT);
  43. }
  44. return false;
  45. break;
  46. case IT_CMLS:
  47. if (record->event.pressed){
  48. if (get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RIGHT_SHIFT)){
  49. unregister_code16(KC_LSFT);
  50. register_code16(IT_LABK);
  51. register_code16(KC_LSFT);
  52. } else {
  53. register_code16(IT_COMM);
  54. }
  55. } else {
  56. unregister_code16(IT_LABK);
  57. unregister_code16(IT_COMM);
  58. }
  59. return false;
  60. break;
  61. case IT_DTMR:
  62. if (record->event.pressed){
  63. if (get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RIGHT_SHIFT)){
  64. register_code16(IT_RABK);
  65. } else {
  66. register_code16(IT_DOT);
  67. }
  68. } else {
  69. unregister_code16(IT_RABK);
  70. unregister_code16(IT_DOT);
  71. }
  72. return false;
  73. break;
  74. case IT_SLQS:
  75. if (record->event.pressed){
  76. if (get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RIGHT_SHIFT)){
  77. register_code16(IT_QUES);
  78. } else {
  79. register_code16(IT_SLSH);
  80. }
  81. } else {
  82. unregister_code16(IT_QUES);
  83. unregister_code16(IT_SLSH);
  84. }
  85. return false;
  86. break;
  87. }
  88. return process_record_keymap(keycode, record) && process_record_secrets(keycode, record);
  89. };