1
0
Fork 0

[MERGE][Core] Pointing Device Modes (21426)

This commit is contained in:
Drashna Jael're 2024-01-31 14:52:03 -08:00
parent ed6ec8b4f9
commit 1648a63812
Signed by: drashna
GPG key ID: DBA1FD3A860D1B11
22 changed files with 1932 additions and 16 deletions

View file

@ -109,3 +109,18 @@ const key_override_t* key_override_get_raw(uint16_t key_override_idx);
const key_override_t* key_override_get(uint16_t key_override_idx);
#endif // defined(KEY_OVERRIDE_ENABLE)
// Pointing Mode Mapping
#if defined(POINTING_MODE_MAP_ENABLE)
// Get the number of pointing mode maps, stored in firmware
uint8_t pointing_mode_map_count_raw(void);
// Get the number of pointing mode maps, potentially stored dynamically
uint8_t pointing_mode_map_count(void);
// Get the keycode for the pointing mode map location, stored in firmware
uint16_t keycode_at_pointing_mode_map_location_raw(uint8_t map_loc);
// Get the keycode for the encoder mapping location, potentially stored dynamically
uint16_t keycode_at_pointing_mode_map_location(uint8_t map_loc);
#endif // defined(POINTING_MODE_MAP_ENABLE)