aboutsummaryrefslogtreecommitdiff
path: root/keyboards/bolsa/damapad/damapad.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/bolsa/damapad/damapad.c')
-rw-r--r--keyboards/bolsa/damapad/damapad.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/keyboards/bolsa/damapad/damapad.c b/keyboards/bolsa/damapad/damapad.c
index d57a60c166..6057181fa3 100644
--- a/keyboards/bolsa/damapad/damapad.c
+++ b/keyboards/bolsa/damapad/damapad.c
@@ -15,7 +15,7 @@ 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 "damapad.h"
+#include "quantum.h"
#ifdef OLED_ENABLE
bool oled_task_kb(void) {
@@ -65,17 +65,3 @@ oled_rotation_t oled_init_kb(oled_rotation_t rotation) {
return OLED_ROTATION_180;
}
#endif
-
-#ifdef ENCODER_ENABLE
-bool encoder_update_kb(uint8_t index, bool clockwise) {
- if (!encoder_update_user(index, clockwise)) { return false; }
- if (index == 0) {
- if (clockwise) {
- tap_code_delay(KC_VOLU, 10);
- } else {
- tap_code_delay(KC_VOLD, 10);
- }
- }
- return true;
-}
-#endif \ No newline at end of file