diff options
| author | Ilya Zhuravlev <whatever@xyz.is> | 2021-06-30 23:42:40 -0400 |
|---|---|---|
| committer | Ilya Zhuravlev <whatever@xyz.is> | 2021-07-17 23:46:10 -0400 |
| commit | b34258dbd644f13aeed00c3fa75e8d8297067f09 (patch) | |
| tree | 0c517fe829f7faaa7d69dcbe59712e345fc2b80b /quantum/qmk_settings.h | |
| parent | 8dc2d0728872b13576da33af010cbc5a461051cb (diff) | |
qmk_settings: update with test settings
Diffstat (limited to 'quantum/qmk_settings.h')
| -rw-r--r-- | quantum/qmk_settings.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/quantum/qmk_settings.h b/quantum/qmk_settings.h index e117a3b856..86c075abc0 100644 --- a/quantum/qmk_settings.h +++ b/quantum/qmk_settings.h @@ -35,10 +35,19 @@ #ifdef QMK_SETTINGS /* dynamic settings framework is enabled */ -/* actual settings - stored in RAM and backed by EEPROM */ +/* actual settings - stored in RAM and backed by EEPROM + these are in arbitrary order to ensure they are aligned w/o any holes, and the order can be changed at will */ typedef struct { uint8_t grave_esc_override; + uint8_t auto_shift; + uint8_t osk_tap_toggle; + uint8_t tap_hold; + uint16_t debounce_time; + uint16_t auto_shift_timeout; + uint16_t osk_timeout; + uint16_t tapping_term; } qmk_settings_t; +_Static_assert(sizeof(qmk_settings_t) == 12, "unexpected size of the qmk_settings_t structure"); /* setting prototype - describes how to get/set settings, stored in flash */ typedef struct { |
