summaryrefslogtreecommitdiff
path: root/keyboards/winry/winry315/keymaps/via/encoder_actions.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-03-08 03:46:20 +0000
committerQMK Bot <hello@qmk.fm>2022-03-08 03:46:20 +0000
commit0cf1186f8d857e62eab30ab3323573fda8238fd9 (patch)
tree06dfde75af7e0f06e637c0324b131d31c409b228 /keyboards/winry/winry315/keymaps/via/encoder_actions.h
parentb069002e6150e9735c86a93d68a6bb8fd708c09e (diff)
parenteb35f58a6ec9068329a39e3ef8449568e90931e9 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/winry/winry315/keymaps/via/encoder_actions.h')
-rw-r--r--keyboards/winry/winry315/keymaps/via/encoder_actions.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/keyboards/winry/winry315/keymaps/via/encoder_actions.h b/keyboards/winry/winry315/keymaps/via/encoder_actions.h
new file mode 100644
index 0000000000..2484af52ae
--- /dev/null
+++ b/keyboards/winry/winry315/keymaps/via/encoder_actions.h
@@ -0,0 +1,21 @@
+/* Copyright 2020 Neil Brian Ramirez
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "quantum.h"
+
+void encoder_action_unregister(void);
+
+void encoder_action_register(uint8_t index, bool clockwise);