Giter Site home page Giter Site logo

touchgadget / blemouse2xac Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 841 KB

blemouse2xac -- BLE Mouse/Trackball to Xbox Adaptive Controller Joystick using Arduino ESP32-S3

License: MIT License

C 60.86% C++ 39.14%
arduino ble bluetooth-low-energy esp32 esp32-s3 m5stack-atoms3 mouse trackball xac xbox-adaptive-controller

blemouse2xac's People

Contributors

touchgadget avatar

Stargazers

 avatar  avatar

Watchers

 avatar

blemouse2xac's Issues

coneccted but no mouse movements

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.