diff options
Diffstat (limited to 'keyboards/nightly_boards')
-rw-r--r-- | keyboards/nightly_boards/adellein/adellein.c | 7 | ||||
-rw-r--r-- | keyboards/nightly_boards/n40_o/n40_o.c | 7 | ||||
-rw-r--r-- | keyboards/nightly_boards/n60_s/n60_s.c | 5 | ||||
-rw-r--r-- | keyboards/nightly_boards/octopad/octopad.c | 7 |
4 files changed, 15 insertions, 11 deletions
diff --git a/keyboards/nightly_boards/adellein/adellein.c b/keyboards/nightly_boards/adellein/adellein.c index eb9771662..8ae826d49 100644 --- a/keyboards/nightly_boards/adellein/adellein.c +++ b/keyboards/nightly_boards/adellein/adellein.c | |||
@@ -21,7 +21,8 @@ void matrix_scan_kb(void) { | |||
21 | matrix_scan_user(); | 21 | matrix_scan_user(); |
22 | } | 22 | } |
23 | 23 | ||
24 | void encoder_update_kb(uint8_t index, bool clockwise) { | 24 | bool encoder_update_kb(uint8_t index, bool clockwise) { |
25 | // if (!encoder_update_user(index, clockwise)) return false; | ||
25 | encoder_action_register(index, clockwise); | 26 | encoder_action_register(index, clockwise); |
26 | // encoder_update_user(index, clockwise); | 27 | return true; |
27 | }; \ No newline at end of file | 28 | }; |
diff --git a/keyboards/nightly_boards/n40_o/n40_o.c b/keyboards/nightly_boards/n40_o/n40_o.c index a91a0716b..060daaa4b 100644 --- a/keyboards/nightly_boards/n40_o/n40_o.c +++ b/keyboards/nightly_boards/n40_o/n40_o.c | |||
@@ -21,7 +21,8 @@ void matrix_scan_kb(void) { | |||
21 | matrix_scan_user(); | 21 | matrix_scan_user(); |
22 | } | 22 | } |
23 | 23 | ||
24 | void encoder_update_kb(uint8_t index, bool clockwise) { | 24 | bool encoder_update_kb(uint8_t index, bool clockwise) { |
25 | // if (!encoder_update_user(index, clockwise)) return false; | ||
25 | encoder_action_register(index, clockwise); | 26 | encoder_action_register(index, clockwise); |
26 | // encoder_update_user(index, clockwise); | 27 | return true; |
27 | }; \ No newline at end of file | 28 | }; |
diff --git a/keyboards/nightly_boards/n60_s/n60_s.c b/keyboards/nightly_boards/n60_s/n60_s.c index e762fa6d6..dd0d23425 100644 --- a/keyboards/nightly_boards/n60_s/n60_s.c +++ b/keyboards/nightly_boards/n60_s/n60_s.c | |||
@@ -21,7 +21,8 @@ void matrix_scan_kb(void) { | |||
21 | matrix_scan_user(); | 21 | matrix_scan_user(); |
22 | } | 22 | } |
23 | 23 | ||
24 | void encoder_update_kb(uint8_t index, bool clockwise) { | 24 | bool encoder_update_kb(uint8_t index, bool clockwise) { |
25 | // if (!encoder_update_user(index, clockwise)) return false; | ||
25 | encoder_action_register(index, clockwise); | 26 | encoder_action_register(index, clockwise); |
26 | // encoder_update_user(index, clockwise); | 27 | return true; |
27 | }; | 28 | }; |
diff --git a/keyboards/nightly_boards/octopad/octopad.c b/keyboards/nightly_boards/octopad/octopad.c index 9dd9b72a1..e05782677 100644 --- a/keyboards/nightly_boards/octopad/octopad.c +++ b/keyboards/nightly_boards/octopad/octopad.c | |||
@@ -21,7 +21,8 @@ void matrix_scan_kb(void) { | |||
21 | matrix_scan_user(); | 21 | matrix_scan_user(); |
22 | } | 22 | } |
23 | 23 | ||
24 | void encoder_update_kb(uint8_t index, bool clockwise) { | 24 | bool encoder_update_kb(uint8_t index, bool clockwise) { |
25 | // if (!encoder_update_user(index, clockwise)) return false; | ||
25 | encoder_action_register(index, clockwise); | 26 | encoder_action_register(index, clockwise); |
26 | // encoder_update_user(index, clockwise); | 27 | return true; |
27 | }; \ No newline at end of file | 28 | }; |