[Keyboard] Sol 3 Keyboard from RGBKB (#15687)
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Franklyn Tackitt <franklyn@tackitt.net>
This commit is contained in:
@@ -292,7 +292,7 @@ void touch_encoder_calibrate(void) {
|
||||
write_register8(QT_CALIBRATE, 0x01);
|
||||
}
|
||||
|
||||
bool touch_encoder_calibrating(void) {
|
||||
bool touch_encoder_is_calibrating(void) {
|
||||
return touch_raw[0] & CALIBRATION_BIT;
|
||||
}
|
||||
|
||||
@@ -300,8 +300,8 @@ void touch_encoder_toggle(void) {
|
||||
touch_disabled = !touch_disabled;
|
||||
}
|
||||
|
||||
bool touch_encoder_toggled(void) {
|
||||
return touch_disabled;
|
||||
bool touch_encoder_is_on(void) {
|
||||
return !touch_disabled;
|
||||
}
|
||||
|
||||
void touch_encoder_slave_sync(uint8_t initiator2target_buffer_size, const void* initiator2target_buffer, uint8_t target2initiator_buffer_size, void* target2initiator_buffer) {
|
||||
|
@@ -34,10 +34,10 @@ void touch_encoder_init(void);
|
||||
void touch_encoder_update(int8_t transaction_id);
|
||||
|
||||
void touch_encoder_calibrate(void);
|
||||
bool touch_encoder_calibrating(void);
|
||||
bool touch_encoder_is_calibrating(void);
|
||||
|
||||
void touch_encoder_toggle(void);
|
||||
bool touch_encoder_toggled(void);
|
||||
bool touch_encoder_is_on(void);
|
||||
|
||||
// Called when touch encoder is tapped, weak function overridable by the kb
|
||||
bool touch_encoder_tapped_kb(uint8_t index, uint8_t section);
|
||||
|
Reference in New Issue
Block a user