touchgadget / blemouse2xac Goto Github PK
View Code? Open in Web Editor NEWblemouse2xac -- BLE Mouse/Trackball to Xbox Adaptive Controller Joystick using Arduino ESP32-S3
License: MIT License
blemouse2xac -- BLE Mouse/Trackball to Xbox Adaptive Controller Joystick using Arduino ESP32-S3
License: MIT License
Hi,
This code is really fantastic. It fits my needs at 95%
Unfortunatly, I experience an issue : in 75% of my tests, the mouse is detected and connected, but no mouvements are reporte.
I keep getting 0s : (x and y are always 0).
16:30:26.325 -> Characteristic: uuid: 0x2a4d, handle: 19 0x0013, props: 0x1a
16:30:26.325 -> Descriptor: uuid: 0x2902, handle: 20
16:30:26.325 -> id 0 buttons 0, x 0, y 0
Even more strange, it often take several trials before the mouse connects ;ie the mouse connect but no mouse report is read, then
Scan Ended
16:29:53.795 -> Name: Bluetooth4.0Mouse, Address: e7:b4:c2:b8:c2:bf, appearance: 962, serviceUUID: 0x1812
16:29:53.795 -> Client List Size: 1
16:29:53.828 -> Connected
16:29:53.828 -> Reconnected client
16:29:53.828 -> Connected to: e7:b4:c2:b8:c2:bf
16:29:53.828 -> RSSI: -69
16:29:54.719 -> HID REPORT MAP char not found.
16:29:54.719 -> Done with this device!
16:29:54.719 -> Success! we should now be getting notifications!
16:29:54.719 -> Mouse to XAC
16:29:54.719 -> e7:b4:c2:b8:c2:bf Disconnected - Starting scan
16:29:54.750 -> onResult: AdvType= 0
16:29:54.750 -> Advertised HID Device found: Name: Bluetooth4.0Mouse, Address: e7:b4:c2:b8:c2:bf, appearance: 962, serviceUUID: 0x1812
16:29:54.750 -> Scan Ended
16:29:54.750 -> Name: Bluetooth4.0Mouse, Address: e7:b4:c2:b8:c2:bf, appearance: 962, serviceUUID: 0x1812
16:29:54.750 -> Client List Size: 1
16:29:54.850 -> Connected
16:29:54.850 -> Reconnected client
16:29:54.850 -> Connected to: e7:b4:c2:b8:c2:bf
16:29:54.850 -> RSSI: -67
16:29:55.639 -> HID REPORT MAP char not found.
6:29:54.719 -> Done with this device!
16:29:54.719 -> Success! we should now be getting notifications!
16:29:54.719 -> Mouse to XAC
16:29:54.719 -> e7:b4:c2:b8:c2:bf Disconnected - Starting scan
16:29:54.750 -> onResult: AdvType= 0
16:29:54.750 -> Advertised HID Device found: Name: Bluetooth4.0Mouse, Address: e7:b4:c2:b8:c2:bf, appearance: 962, serviceUUID: 0x1812
16:29:54.750 -> Scan Ended
16:29:54.750 -> Name: Bluetooth4.0Mouse, Address: e7:b4:c2:b8:c2:bf, appearance: 962, serviceUUID: 0x1812
16:29:54.750 -> Client List Size: 1
16:29:54.850 -> Connected
16:29:54.850 -> Reconnected client
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.