Skip to content

Commit 04bf868

Browse files
committed
Update BSP and BadgeELF; changes keyboard event utf8 to inline array
1 parent 5b06b10 commit 04bf868

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

components/usb-host/src/hid_keyboard.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,9 +384,9 @@ static void inject_keyboard_event_inner(char ascii, char ascii_shift, char const
384384
bsp_input_event_t event = {
385385
.type = INPUT_EVENT_TYPE_KEYBOARD,
386386
.args_keyboard.ascii = value_ascii,
387-
.args_keyboard.utf8 = value_utf8,
388387
.args_keyboard.modifiers = modifiers,
389388
};
389+
strlcpy(event.args_keyboard.utf8, value_utf8, sizeof(event.args_keyboard.utf8));
390390
bsp_input_inject_event(&event);
391391
printf("Keyboard %02x with modifiers %02" PRIx32 "\r\n", value_ascii, modifiers);
392392
}

main/idf_component.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
idf: ">=5.5.1"
3-
badgeteam/badge-bsp: "^1.0.0"
3+
badgeteam/badge-bsp: "^1.0.3"
44
robotman2412/pax-gfx: "^2.1.0"
55
robotman2412/pax-codecs: "^1.0.1"
66
badgeteam/appfs: "^1.2.0"
@@ -18,11 +18,11 @@ dependencies:
1818
rules:
1919
- if: target == esp32p4
2020
badgeteam/badge-elf:
21-
version: "^0.6.0"
21+
version: "^0.7.0"
2222
rules:
2323
- if: "target == esp32p4 && $CONFIG{ENABLE_LAUNCHERPLUGINS} == True"
2424
badgeteam/badge-elf-api:
25-
version: "^0.6.1"
25+
version: "^0.7.0"
2626
rules:
2727
- if: "target == esp32p4 && $CONFIG{ENABLE_LAUNCHERPLUGINS} == True"
2828
espressif/esp_tinyusb:

0 commit comments

Comments
 (0)