summaryrefslogtreecommitdiff
path: root/keyboards/pearlboards/pandora/pandora.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/pearlboards/pandora/pandora.c')
-rw-r--r--keyboards/pearlboards/pandora/pandora.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/keyboards/pearlboards/pandora/pandora.c b/keyboards/pearlboards/pandora/pandora.c
index 608ee00edf..86044b92b6 100644
--- a/keyboards/pearlboards/pandora/pandora.c
+++ b/keyboards/pearlboards/pandora/pandora.c
@@ -14,25 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "pandora.h"
-
-// Encoder rotate function
-#ifdef ENCODER_ENABLE
-bool encoder_update_kb(uint8_t index, bool clockwise) {
- if (!encoder_update_user(index, clockwise)) {
- return false;
- }
- /* First encoder */
- if (index == 0) {
- if (clockwise) {
- tap_code(KC_AUDIO_VOL_UP);
- } else {
- tap_code(KC_AUDIO_VOL_DOWN);
- }
- }
- return true;
-}
-#endif
+#include "quantum.h"
// Encoder click function
#ifdef DIP_SWITCH_ENABLE