mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-02-24 15:50:48 +00:00
whoops
This commit is contained in:
parent
ff342d78d9
commit
8388187e20
@ -10,13 +10,13 @@
|
|||||||
# define keymap_max_layer_count() keymap_layer_count()
|
# define keymap_max_layer_count() keymap_layer_count()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool xap_execute_keymap_get_layer_count_impl(xap_token_t token) {
|
bool xap_execute_keymap_get_layer_count(xap_token_t token) {
|
||||||
uint8_t ret = keymap_max_layer_count();
|
uint8_t ret = keymap_max_layer_count();
|
||||||
return xap_respond_data(token, &ret, sizeof(ret));
|
return xap_respond_data(token, &ret, sizeof(ret));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool xap_execute_get_keymap_keycode_impl(xap_token_t token, const xap_route_keymap_get_keymap_keycode_arg_t *arg) {
|
bool xap_execute_get_keymap_keycode(xap_token_t token, const xap_route_keymap_get_keymap_keycode_arg_t *arg) {
|
||||||
if (arg->layer >= keymap_max_layer_count()) {
|
if (arg->layer >= keymap_max_layer_count()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -26,7 +26,7 @@ bool xap_execute_get_keymap_keycode_impl(xap_token_t token, const xap_route_keym
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if ((defined(ENCODER_MAP_ENABLE)))
|
#if ((defined(ENCODER_MAP_ENABLE)))
|
||||||
bool xap_execute_get_encoder_keycode_impl(xap_token_t token, const xap_route_keymap_get_encoder_keycode_arg_t *arg) {
|
bool xap_execute_get_encoder_keycode(xap_token_t token, const xap_route_keymap_get_encoder_keycode_arg_t *arg) {
|
||||||
if (arg->layer >= keymap_max_layer_count()) {
|
if (arg->layer >= keymap_max_layer_count()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -37,7 +37,7 @@ bool xap_execute_get_encoder_keycode_impl(xap_token_t token, const xap_route_key
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ((defined(DYNAMIC_KEYMAP_ENABLE)))
|
#if ((defined(DYNAMIC_KEYMAP_ENABLE)))
|
||||||
bool xap_execute_dynamic_keymap_set_keycode_impl(xap_token_t token, const xap_route_remapping_set_keymap_keycode_arg_t *arg) {
|
bool xap_execute_dynamic_keymap_set_keycode(xap_token_t token, const xap_route_remapping_set_keymap_keycode_arg_t *arg) {
|
||||||
if (arg->layer >= keymap_max_layer_count()) {
|
if (arg->layer >= keymap_max_layer_count()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -48,7 +48,7 @@ bool xap_execute_dynamic_keymap_set_keycode_impl(xap_token_t token, const xap_ro
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ((defined(DYNAMIC_KEYMAP_ENABLE) && defined(ENCODER_MAP_ENABLE)))
|
#if ((defined(DYNAMIC_KEYMAP_ENABLE) && defined(ENCODER_MAP_ENABLE)))
|
||||||
bool xap_execute_dynamic_encoder_set_keycode_impl(xap_token_t token, const xap_route_remapping_set_encoder_keycode_arg_t *arg) {
|
bool xap_execute_dynamic_encoder_set_keycode(xap_token_t token, const xap_route_remapping_set_encoder_keycode_arg_t *arg) {
|
||||||
if (arg->layer >= keymap_max_layer_count()) {
|
if (arg->layer >= keymap_max_layer_count()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user