mirror of
https://github.com/Cian-H/qmk_firmware.git
synced 2026-07-31 19:22:08 +01:00
Convert Dip Switch callbacks to boolean functions (#13399)
This commit is contained in:
@@ -20,10 +20,10 @@
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
void dip_switch_update_kb(uint8_t index, bool active);
|
||||
void dip_switch_update_user(uint8_t index, bool active);
|
||||
void dip_switch_update_mask_user(uint32_t state);
|
||||
void dip_switch_update_mask_kb(uint32_t state);
|
||||
bool dip_switch_update_kb(uint8_t index, bool active);
|
||||
bool dip_switch_update_user(uint8_t index, bool active);
|
||||
bool dip_switch_update_mask_user(uint32_t state);
|
||||
bool dip_switch_update_mask_kb(uint32_t state);
|
||||
|
||||
void dip_switch_init(void);
|
||||
void dip_switch_read(bool forced);
|
||||
|
||||
Reference in New Issue
Block a user