用 Embassy 开发 Xinput 协议手柄

 · 0 分钟
Last updated: 2023-04-17
Table of contents

Project repository: GitHub repo

Road Map

  • proof of concept
    • implement xinput on stm32f103
    • implement keypad scan on stm32f103
      • now use existing keypad from crates.io
    • act like a gamepad
  • implement keymap on stm32f103
  • port to nrf52840
  • implement ble (different modes)
    • hid keyboard & mouse
    • gamepad
  • improve overall structure
  • implement mode switch
  • board abstraction
  • package/lib?
  • custom board (prototype)
    • NFC
    • battery
    • rumble
    • LED
  • and custom shell
  • production design

Important thing:

  • what about the marketing?

about bluetooth

https://en.wikipedia.org/wiki/Xbox_Wireless_Controller#Summary

  • Classic Bluetooth HID profile
  • HID over GATT Profile

I wonder if they are mostly the same protocol on a higher level, because there are evidences showing the existence of Bluetooth LE XInput compatible controller.