diff options
Diffstat (limited to 'keyboards/cannonkeys')
| -rw-r--r-- | keyboards/cannonkeys/an_c/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/cannonkeys/chimera65/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/cannonkeys/instant60/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/cannonkeys/iron165/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/cannonkeys/ortho48/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/cannonkeys/ortho60/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/cannonkeys/ortho75/ortho75.c | 4 | ||||
| -rw-r--r-- | keyboards/cannonkeys/ortho75/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/cannonkeys/practice60/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/cannonkeys/practice65/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/cannonkeys/satisfaction75/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/cannonkeys/satisfaction75/satisfaction75.c | 6 | ||||
| -rw-r--r-- | keyboards/cannonkeys/savage65/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/cannonkeys/tmov2/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/cannonkeys/tsukuyomi/rules.mk | 2 |
15 files changed, 20 insertions, 16 deletions
diff --git a/keyboards/cannonkeys/an_c/rules.mk b/keyboards/cannonkeys/an_c/rules.mk index 8ed2d0ead..7309744d1 100644 --- a/keyboards/cannonkeys/an_c/rules.mk +++ b/keyboards/cannonkeys/an_c/rules.mk | |||
| @@ -11,7 +11,7 @@ MOUSEKEY_ENABLE = yes # Mouse keys | |||
| 11 | EXTRAKEY_ENABLE = yes # Audio control and System control | 11 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 12 | CONSOLE_ENABLE = yes # Console for debug | 12 | CONSOLE_ENABLE = yes # Console for debug |
| 13 | COMMAND_ENABLE = yes # Commands for debug and configuration | 13 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 14 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 14 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 15 | NKRO_ENABLE = yes # USB Nkey Rollover | 15 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 16 | CUSTOM_MATRIX = no # Custom matrix file | 16 | CUSTOM_MATRIX = no # Custom matrix file |
| 17 | BACKLIGHT_ENABLE = yes | 17 | BACKLIGHT_ENABLE = yes |
diff --git a/keyboards/cannonkeys/chimera65/rules.mk b/keyboards/cannonkeys/chimera65/rules.mk index 4d940da78..a08f2fa49 100644 --- a/keyboards/cannonkeys/chimera65/rules.mk +++ b/keyboards/cannonkeys/chimera65/rules.mk | |||
| @@ -11,7 +11,7 @@ MOUSEKEY_ENABLE = yes # Mouse keys | |||
| 11 | EXTRAKEY_ENABLE = yes # Audio control and System control | 11 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 12 | CONSOLE_ENABLE = yes # Console for debug | 12 | CONSOLE_ENABLE = yes # Console for debug |
| 13 | COMMAND_ENABLE = yes # Commands for debug and configuration | 13 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 14 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 14 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 15 | NKRO_ENABLE = yes # USB Nkey Rollover | 15 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 16 | CUSTOM_MATRIX = no # Custom matrix file | 16 | CUSTOM_MATRIX = no # Custom matrix file |
| 17 | BACKLIGHT_ENABLE = yes | 17 | BACKLIGHT_ENABLE = yes |
diff --git a/keyboards/cannonkeys/instant60/rules.mk b/keyboards/cannonkeys/instant60/rules.mk index 0973ad954..e5ba2903b 100644 --- a/keyboards/cannonkeys/instant60/rules.mk +++ b/keyboards/cannonkeys/instant60/rules.mk | |||
| @@ -10,7 +10,7 @@ MOUSEKEY_ENABLE = yes # Mouse keys | |||
| 10 | EXTRAKEY_ENABLE = yes # Audio control and System control | 10 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 11 | CONSOLE_ENABLE = yes # Console for debug | 11 | CONSOLE_ENABLE = yes # Console for debug |
| 12 | COMMAND_ENABLE = yes # Commands for debug and configuration | 12 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 13 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 13 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 14 | NKRO_ENABLE = yes # USB Nkey Rollover | 14 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 15 | CUSTOM_MATRIX = no # Custom matrix file | 15 | CUSTOM_MATRIX = no # Custom matrix file |
| 16 | BACKLIGHT_ENABLE = yes | 16 | BACKLIGHT_ENABLE = yes |
diff --git a/keyboards/cannonkeys/iron165/rules.mk b/keyboards/cannonkeys/iron165/rules.mk index 3925458dd..9de75a614 100644 --- a/keyboards/cannonkeys/iron165/rules.mk +++ b/keyboards/cannonkeys/iron165/rules.mk | |||
| @@ -9,7 +9,7 @@ MOUSEKEY_ENABLE = yes # Mouse keys | |||
| 9 | EXTRAKEY_ENABLE = yes # Audio control and System control | 9 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 10 | CONSOLE_ENABLE = yes # Console for debug | 10 | CONSOLE_ENABLE = yes # Console for debug |
| 11 | COMMAND_ENABLE = yes # Commands for debug and configuration | 11 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 12 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 12 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 13 | NKRO_ENABLE = yes # USB Nkey Rollover | 13 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 14 | CUSTOM_MATRIX = no # Custom matrix file | 14 | CUSTOM_MATRIX = no # Custom matrix file |
| 15 | BACKLIGHT_ENABLE = yes | 15 | BACKLIGHT_ENABLE = yes |
diff --git a/keyboards/cannonkeys/ortho48/rules.mk b/keyboards/cannonkeys/ortho48/rules.mk index 6e468c49a..ac927481f 100644 --- a/keyboards/cannonkeys/ortho48/rules.mk +++ b/keyboards/cannonkeys/ortho48/rules.mk | |||
| @@ -8,7 +8,7 @@ BOOTLOADER = stm32duino | |||
| 8 | VPATH += keyboards/cannonkeys/bluepill | 8 | VPATH += keyboards/cannonkeys/bluepill |
| 9 | SRC = keyboard.c | 9 | SRC = keyboard.c |
| 10 | 10 | ||
| 11 | #BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration | 11 | #BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration |
| 12 | MOUSEKEY_ENABLE = yes # Mouse keys | 12 | MOUSEKEY_ENABLE = yes # Mouse keys |
| 13 | EXTRAKEY_ENABLE = yes # Audio control and System control | 13 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 14 | CONSOLE_ENABLE = yes # Console for debug | 14 | CONSOLE_ENABLE = yes # Console for debug |
diff --git a/keyboards/cannonkeys/ortho60/rules.mk b/keyboards/cannonkeys/ortho60/rules.mk index ea9bd6b2d..ec91d3b81 100644 --- a/keyboards/cannonkeys/ortho60/rules.mk +++ b/keyboards/cannonkeys/ortho60/rules.mk | |||
| @@ -8,7 +8,7 @@ BOOTLOADER = stm32duino | |||
| 8 | VPATH += keyboards/cannonkeys/bluepill | 8 | VPATH += keyboards/cannonkeys/bluepill |
| 9 | SRC = keyboard.c | 9 | SRC = keyboard.c |
| 10 | 10 | ||
| 11 | #BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration | 11 | #BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration |
| 12 | MOUSEKEY_ENABLE = yes # Mouse keys | 12 | MOUSEKEY_ENABLE = yes # Mouse keys |
| 13 | EXTRAKEY_ENABLE = yes # Audio control and System control | 13 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 14 | CONSOLE_ENABLE = yes # Console for debug | 14 | CONSOLE_ENABLE = yes # Console for debug |
diff --git a/keyboards/cannonkeys/ortho75/ortho75.c b/keyboards/cannonkeys/ortho75/ortho75.c index c3ceee28c..7c722d715 100644 --- a/keyboards/cannonkeys/ortho75/ortho75.c +++ b/keyboards/cannonkeys/ortho75/ortho75.c | |||
| @@ -11,7 +11,8 @@ uint32_t layer_state_set_kb(uint32_t state) { | |||
| 11 | return state; | 11 | return state; |
| 12 | } | 12 | } |
| 13 | 13 | ||
| 14 | void encoder_update_kb(uint8_t index, bool clockwise) { | 14 | bool encoder_update_kb(uint8_t index, bool clockwise) { |
| 15 | if (!encoder_update_user(index, clockwise)) return false; | ||
| 15 | uint16_t mapped_code = 0; | 16 | uint16_t mapped_code = 0; |
| 16 | if (index == 0) { | 17 | if (index == 0) { |
| 17 | if (clockwise) { | 18 | if (clockwise) { |
| @@ -46,4 +47,5 @@ void encoder_update_kb(uint8_t index, bool clockwise) { | |||
| 46 | while (timer_elapsed(held_keycode_timer) < MEDIA_KEY_DELAY){ /* no-op */ } | 47 | while (timer_elapsed(held_keycode_timer) < MEDIA_KEY_DELAY){ /* no-op */ } |
| 47 | unregister_code(mapped_code); | 48 | unregister_code(mapped_code); |
| 48 | } | 49 | } |
| 50 | return true; | ||
| 49 | } | 51 | } |
diff --git a/keyboards/cannonkeys/ortho75/rules.mk b/keyboards/cannonkeys/ortho75/rules.mk index e132ccaf1..9d6004656 100644 --- a/keyboards/cannonkeys/ortho75/rules.mk +++ b/keyboards/cannonkeys/ortho75/rules.mk | |||
| @@ -8,7 +8,7 @@ BOOTLOADER = stm32duino | |||
| 8 | VPATH += keyboards/cannonkeys/bluepill | 8 | VPATH += keyboards/cannonkeys/bluepill |
| 9 | SRC = keyboard.c | 9 | SRC = keyboard.c |
| 10 | 10 | ||
| 11 | #BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration | 11 | #BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration |
| 12 | MOUSEKEY_ENABLE = yes # Mouse keys | 12 | MOUSEKEY_ENABLE = yes # Mouse keys |
| 13 | EXTRAKEY_ENABLE = yes # Audio control and System control | 13 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 14 | CONSOLE_ENABLE = yes # Console for debug | 14 | CONSOLE_ENABLE = yes # Console for debug |
diff --git a/keyboards/cannonkeys/practice60/rules.mk b/keyboards/cannonkeys/practice60/rules.mk index 3f9ca1448..80bde01cf 100644 --- a/keyboards/cannonkeys/practice60/rules.mk +++ b/keyboards/cannonkeys/practice60/rules.mk | |||
| @@ -8,7 +8,7 @@ BOOTLOADER = stm32duino | |||
| 8 | VPATH += keyboards/cannonkeys/bluepill | 8 | VPATH += keyboards/cannonkeys/bluepill |
| 9 | SRC = keyboard.c | 9 | SRC = keyboard.c |
| 10 | 10 | ||
| 11 | #BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration | 11 | #BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration |
| 12 | MOUSEKEY_ENABLE = yes # Mouse keys | 12 | MOUSEKEY_ENABLE = yes # Mouse keys |
| 13 | EXTRAKEY_ENABLE = yes # Audio control and System control | 13 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 14 | CONSOLE_ENABLE = yes # Console for debug | 14 | CONSOLE_ENABLE = yes # Console for debug |
diff --git a/keyboards/cannonkeys/practice65/rules.mk b/keyboards/cannonkeys/practice65/rules.mk index 344844b0e..130f9b98e 100644 --- a/keyboards/cannonkeys/practice65/rules.mk +++ b/keyboards/cannonkeys/practice65/rules.mk | |||
| @@ -8,7 +8,7 @@ BOOTLOADER = stm32duino | |||
| 8 | VPATH += keyboards/cannonkeys/bluepill | 8 | VPATH += keyboards/cannonkeys/bluepill |
| 9 | SRC = keyboard.c | 9 | SRC = keyboard.c |
| 10 | 10 | ||
| 11 | #BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration | 11 | #BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration |
| 12 | MOUSEKEY_ENABLE = yes # Mouse keys | 12 | MOUSEKEY_ENABLE = yes # Mouse keys |
| 13 | EXTRAKEY_ENABLE = yes # Audio control and System control | 13 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 14 | CONSOLE_ENABLE = yes # Console for debug | 14 | CONSOLE_ENABLE = yes # Console for debug |
diff --git a/keyboards/cannonkeys/satisfaction75/rules.mk b/keyboards/cannonkeys/satisfaction75/rules.mk index e3abea546..3861b4849 100644 --- a/keyboards/cannonkeys/satisfaction75/rules.mk +++ b/keyboards/cannonkeys/satisfaction75/rules.mk | |||
| @@ -15,7 +15,7 @@ MOUSEKEY_ENABLE = yes # Mouse keys | |||
| 15 | EXTRAKEY_ENABLE = yes # Audio control and System control | 15 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 16 | CONSOLE_ENABLE = yes # Console for debug | 16 | CONSOLE_ENABLE = yes # Console for debug |
| 17 | COMMAND_ENABLE = yes # Commands for debug and configuration | 17 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 18 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 18 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 19 | NKRO_ENABLE = yes # USB Nkey Rollover | 19 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 20 | CUSTOM_MATRIX = no # Custom matrix file | 20 | CUSTOM_MATRIX = no # Custom matrix file |
| 21 | ENCODER_ENABLE = yes | 21 | ENCODER_ENABLE = yes |
diff --git a/keyboards/cannonkeys/satisfaction75/satisfaction75.c b/keyboards/cannonkeys/satisfaction75/satisfaction75.c index 47c9a9d50..d3853c229 100644 --- a/keyboards/cannonkeys/satisfaction75/satisfaction75.c +++ b/keyboards/cannonkeys/satisfaction75/satisfaction75.c | |||
| @@ -300,7 +300,8 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) { | |||
| 300 | } | 300 | } |
| 301 | 301 | ||
| 302 | 302 | ||
| 303 | void encoder_update_kb(uint8_t index, bool clockwise) { | 303 | bool encoder_update_kb(uint8_t index, bool clockwise) { |
| 304 | if (!encoder_update_user(index, clockwise)) return false; | ||
| 304 | encoder_value = (encoder_value + (clockwise ? 1 : -1)) % 64; | 305 | encoder_value = (encoder_value + (clockwise ? 1 : -1)) % 64; |
| 305 | queue_for_send = true; | 306 | queue_for_send = true; |
| 306 | if (index == 0) { | 307 | if (index == 0) { |
| @@ -325,6 +326,7 @@ void encoder_update_kb(uint8_t index, bool clockwise) { | |||
| 325 | } | 326 | } |
| 326 | } | 327 | } |
| 327 | } | 328 | } |
| 329 | return true; | ||
| 328 | } | 330 | } |
| 329 | 331 | ||
| 330 | void custom_config_reset(void){ | 332 | void custom_config_reset(void){ |
| @@ -451,4 +453,4 @@ void via_eeprom_reset(void) | |||
| 451 | eeconfig_disable(); | 453 | eeconfig_disable(); |
| 452 | } | 454 | } |
| 453 | 455 | ||
| 454 | #endif // VIA_ENABLE \ No newline at end of file | 456 | #endif // VIA_ENABLE |
diff --git a/keyboards/cannonkeys/savage65/rules.mk b/keyboards/cannonkeys/savage65/rules.mk index 8e1b984fd..2454573d2 100644 --- a/keyboards/cannonkeys/savage65/rules.mk +++ b/keyboards/cannonkeys/savage65/rules.mk | |||
| @@ -11,7 +11,7 @@ MOUSEKEY_ENABLE = yes # Mouse keys | |||
| 11 | EXTRAKEY_ENABLE = yes # Audio control and System control | 11 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 12 | CONSOLE_ENABLE = yes # Console for debug | 12 | CONSOLE_ENABLE = yes # Console for debug |
| 13 | COMMAND_ENABLE = yes # Commands for debug and configuration | 13 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 14 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 14 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 15 | NKRO_ENABLE = yes # USB Nkey Rollover | 15 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 16 | CUSTOM_MATRIX = no # Custom matrix file | 16 | CUSTOM_MATRIX = no # Custom matrix file |
| 17 | BACKLIGHT_ENABLE = yes | 17 | BACKLIGHT_ENABLE = yes |
diff --git a/keyboards/cannonkeys/tmov2/rules.mk b/keyboards/cannonkeys/tmov2/rules.mk index 9b29e8fd1..294c873ee 100644 --- a/keyboards/cannonkeys/tmov2/rules.mk +++ b/keyboards/cannonkeys/tmov2/rules.mk | |||
| @@ -11,7 +11,7 @@ MOUSEKEY_ENABLE = yes # Mouse keys | |||
| 11 | EXTRAKEY_ENABLE = yes # Audio control and System control | 11 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 12 | CONSOLE_ENABLE = yes # Console for debug | 12 | CONSOLE_ENABLE = yes # Console for debug |
| 13 | COMMAND_ENABLE = yes # Commands for debug and configuration | 13 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 14 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 14 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 15 | NKRO_ENABLE = yes # USB Nkey Rollover | 15 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 16 | CUSTOM_MATRIX = no # Custom matrix file | 16 | CUSTOM_MATRIX = no # Custom matrix file |
| 17 | BACKLIGHT_ENABLE = yes | 17 | BACKLIGHT_ENABLE = yes |
diff --git a/keyboards/cannonkeys/tsukuyomi/rules.mk b/keyboards/cannonkeys/tsukuyomi/rules.mk index ce881f198..4e7791a79 100644 --- a/keyboards/cannonkeys/tsukuyomi/rules.mk +++ b/keyboards/cannonkeys/tsukuyomi/rules.mk | |||
| @@ -10,7 +10,7 @@ EXTRAKEY_ENABLE = yes # Audio control and System control | |||
| 10 | CONSOLE_ENABLE = yes # Console for debug | 10 | CONSOLE_ENABLE = yes # Console for debug |
| 11 | COMMAND_ENABLE = yes # Commands for debug and configuration | 11 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 12 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 12 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 13 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 13 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 14 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 14 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
| 15 | NKRO_ENABLE = yes # USB Nkey Rollover | 15 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 16 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 16 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
