Skip to content

i2c arrow and enter codes - #2

Open
bmidgley wants to merge 2 commits into
m5stack:mainfrom
bmidgley:i2c-arrow-codes
Open

bmidgley wants to merge 2 commits into
m5stack:mainfrom
bmidgley:i2c-arrow-codes

Conversation

@bmidgley

@bmidgley bmidgley commented Aug 31, 2026 •

Copy link
Copy Markdown

Problem: Fn+arrow works in BLE HID mode but sends nothing over I2C, breaking navigation on hosts like Meshtastic that expect original CardKB bytes (0xB4-0xB7).

Fix: In I2C mode, emit the same CardKB navigation codes when Fn+D/X/Z/C are pressed.

Enter also required 0x0D instead of the keymap's 0x0A

Testing: Flash firmware, confirm i2cget -y 1 0x5f returns 0xb5 while holding Fn+D in I2C mode.

@bmidgley bmidgley changed the title i2c arrow codes i2c arrow and enter codes Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant