aboutsummaryrefslogtreecommitdiff
path: root/keyboards/cannonkeys/satisfaction75/satisfaction75.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/cannonkeys/satisfaction75/satisfaction75.c')
-rw-r--r--keyboards/cannonkeys/satisfaction75/satisfaction75.c6
1 files changed, 4 insertions, 2 deletions
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
303void encoder_update_kb(uint8_t index, bool clockwise) { 303bool 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
330void custom_config_reset(void){ 332void 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