I have attached the code for a simple head movement controlled mouse pointer and a picture of how I wear it.
I’m happy to clean up this code and add what’s needed for the button presses if you think you’ll use it. Please note that I have the sensitivity of the pointer set really high because I use it in bed, which really limits m6 head movement.
I also made a very simple app for Android that mimics finger swipe up and down. I use this for scrolling because Google Chrome and Gmail don’t respond to mouse drags. Let me know if you’re interested.
[hid_mouse_BLE.ino|attachment](upload://ehVEIo7r1rOKNa6HMdUyxLLVNdM.ino) (3.71 KB)