diff options
| author | Drashna Jaelre <drashna@live.com> | 2021-07-24 00:37:19 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-24 00:37:19 -0700 |
| commit | b8a1e14f53489eea63bd747d1b94d7d9b7da5ac9 (patch) | |
| tree | 962a82138ba7db677d9ee90e4de44053bdddb017 /keyboards/preonic/rev3/rev3.c | |
| parent | 73d4d7dc2bcad7ed7e4d3bdb33aacc18c374c8a9 (diff) | |
| download | qmk_firmware-b8a1e14f53489eea63bd747d1b94d7d9b7da5ac9.tar.gz qmk_firmware-b8a1e14f53489eea63bd747d1b94d7d9b7da5ac9.zip | |
Remove deprecated callbacks for encoders and dip switches (#13404)
Diffstat (limited to 'keyboards/preonic/rev3/rev3.c')
| -rw-r--r-- | keyboards/preonic/rev3/rev3.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/keyboards/preonic/rev3/rev3.c b/keyboards/preonic/rev3/rev3.c index 0410d9a29..7ccff7061 100644 --- a/keyboards/preonic/rev3/rev3.c +++ b/keyboards/preonic/rev3/rev3.c | |||
| @@ -43,23 +43,6 @@ led_config_t g_led_config = { { | |||
| 43 | // 7 8 1 2 | 43 | // 7 8 1 2 |
| 44 | #endif | 44 | #endif |
| 45 | 45 | ||
| 46 | void matrix_init_kb(void) { | ||
| 47 | matrix_init_user(); | ||
| 48 | } | ||
| 49 | |||
| 50 | void matrix_scan_kb(void) { | ||
| 51 | matrix_scan_user(); | ||
| 52 | } | ||
| 53 | |||
| 54 | #ifdef DIP_SWITCH_ENABLE | ||
| 55 | __attribute__((weak)) | ||
| 56 | bool dip_update(uint8_t index, bool active) { return true;} | ||
| 57 | |||
| 58 | __attribute__((weak)) | ||
| 59 | bool dip_switch_update_user(uint8_t index, bool active) { | ||
| 60 | return dip_update(index, active); | ||
| 61 | } | ||
| 62 | #endif | ||
| 63 | 46 | ||
| 64 | #ifdef SWAP_HANDS_ENABLE | 47 | #ifdef SWAP_HANDS_ENABLE |
| 65 | __attribute__ ((weak)) | 48 | __attribute__ ((weak)) |
