aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/keebio/iris/keymaps
diff options
context:
space:
mode:
authorGravatar csc027 <csc_dev@protonmail.com>2020-01-13 17:41:13 +0000
committerGravatar Drashna Jaelre <drashna@live.com>2020-01-13 09:41:13 -0800
commit1b8cb95f2e56acf09bb66e779b800ae14aa074e5 (patch)
tree2ffc478e6fa0f3a79290126588853f9d9cab1996 /keyboards/keebio/iris/keymaps
parent390a4fdc9d9a7c65c202d69eb40fbfcfcb070bb0 (diff)
downloadqmk_firmware-1b8cb95f2e56acf09bb66e779b800ae14aa074e5.tar.gz
[Keymap] csc027/macro-sync-keymap (#7873)
* Basic functionality to synchronize the strings and enums using C preprocessor macros. * Updated all the custom convenience macros to work. * Removed some duplicate update_tri_layer calls. * Simplified the convenience accelerator macros for synchronizing enums and strings by removing the short enum names. * Updated the CUSTOM_MACROS macro to use SS_LCTL instead of SS_LCTRL. * Fixed a bug where the right side of the convenience layer in the Iris keymap was incorrectly listed twice. * Removed the tenkey from the convenience layer. Added Windows 10 virtual desktop shortcuts to the convenience layer. * Fixed a bug where the macro range was not set correctly. * Added sigil values for the keycode enum so that additions to the sync macros will not require changes to the process_record_user ranges. * Hacked send_string_P to work with ChibiOS boards. * Switched to using I2C for the Iris keyboard. * Finished a comment. * Updated comments to explain that for non-AVR MCUs, the PROGMEM macro doesn't do anything. * Updated the synchronization macros to use the more descriptive "NAME" instead of "CALL". Moved the Control-Alt-Delete chord macro to the synchronization macro. * Simplified the custom macros by consolidating the macros into a context change macro instead of using alt-tab and minimize macros. * Fixed a formatting issue where several tabs were used instead of 4 spaces. * Added more comments to explain the synchronization macros. * Simplified the PARAMS macro, since any parameters could be passed with a space by the declarer instead. * Consolidated the synchronization macros into a single list. Simplified the synchronization mechanism. * Removed the overloading macro, since it is no longer needed. * Updated the convenience layer comments to reflect the changes made. * Renamed the git_macros pointer table to custom_macros, since it no longer solely consists of git macros. * Clarified that the send_string_P function's use of pgm_read_byte is different for AVR and non-AVR compilation targets.
Diffstat (limited to 'keyboards/keebio/iris/keymaps')
-rw-r--r--keyboards/keebio/iris/keymaps/csc027/config.h2
-rw-r--r--keyboards/keebio/iris/keymaps/csc027/keymap.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/keebio/iris/keymaps/csc027/config.h b/keyboards/keebio/iris/keymaps/csc027/config.h
index 01bb31a6e..5d201a6f1 100644
--- a/keyboards/keebio/iris/keymaps/csc027/config.h
+++ b/keyboards/keebio/iris/keymaps/csc027/config.h
@@ -17,7 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-// #define USE_I2C
+#define USE_I2C
#define EE_HANDS
#undef RGBLED_NUM
diff --git a/keyboards/keebio/iris/keymaps/csc027/keymap.c b/keyboards/keebio/iris/keymaps/csc027/keymap.c
index 398947555..82a077391 100644
--- a/keyboards/keebio/iris/keymaps/csc027/keymap.c
+++ b/keyboards/keebio/iris/keymaps/csc027/keymap.c
@@ -45,10 +45,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
),
[_CN] = LAYOUT_wrapper(
- ___________________CONVENIENCE_L1__________________, ___________________CONVENIENCE_L1__________________,
- ___________________CONVENIENCE_L2__________________, ___________________CONVENIENCE_L2__________________,
- ___________________CONVENIENCE_L3__________________, ___________________CONVENIENCE_L3__________________,
- ___________________CONVENIENCE_L4__________________, _______, _______, ___________________CONVENIENCE_L4__________________,
+ ___________________CONVENIENCE_L1__________________, ___________________CONVENIENCE_R1__________________,
+ ___________________CONVENIENCE_L2__________________, ___________________CONVENIENCE_R2__________________,
+ ___________________CONVENIENCE_L3__________________, ___________________CONVENIENCE_R3__________________,
+ ___________________CONVENIENCE_L4__________________, _______, _______, ___________________CONVENIENCE_R4__________________,
_______, _______, _______, _______, _______, _______
),