summaryrefslogtreecommitdiffstats
path: root/keyboards/bandominedoni/bandominedoni.h
diff options
context:
space:
mode:
author3araht <69518343+3araht@users.noreply.github.com>2021-12-27 19:27:15 +0900
committerGitHub <noreply@github.com>2021-12-27 21:27:15 +1100
commit4e077250d56f7e786af0cdef00f4b41d77e2b85c (patch)
treeac9e7c62f60d0ede6cddc733a3627b3d01308a03 /keyboards/bandominedoni/bandominedoni.h
parent07465c0ebbabf35079fed70a58e73da1e9419444 (diff)
bandominedoni, Drashna's method is applied to encoder_update_kb. (#15287)
* Drashna's method is applied to rotary encoder rotation detection. rgb_matrix_user.inc -> rgb_matrix_kb.inc. * Disabled some RGB MATRIX effects to shrink the firmware size. * via # of layers changed from 5 to 4.
Diffstat (limited to 'keyboards/bandominedoni/bandominedoni.h')
-rw-r--r--keyboards/bandominedoni/bandominedoni.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/bandominedoni/bandominedoni.h b/keyboards/bandominedoni/bandominedoni.h
index 8e2470826c..1eca4f8d98 100644
--- a/keyboards/bandominedoni/bandominedoni.h
+++ b/keyboards/bandominedoni/bandominedoni.h
@@ -82,3 +82,7 @@
// reason: bandoMIneDonI has no space on right hand side to use "SPLIT_HAND_MATRIX_GRID".
// However, It enables to decide the handedness by the HW by adding one condition: "not to press any keys (especially r30) dusing startup."
bool is_keyboard_left(void);
+
+void encoder_action_unregister(void);
+
+void encoder_action_register(uint8_t index, bool clockwise);