trackball-python
trackball-python copied to clipboard
Will this trackball work with Hyperpixel 4.0 touch's ic2 port?
I recently bought this trackball and I've tried to hook it up via my hyperpixel's ic2 port at the back of the screen. I haven't gotten it working yet, I'm also curious, as I'm a bit confused with the readme. What are the exact lines of code i need to input into the terminal to install the necessary components to get this trackball to work? Thank you for any advice, I hope to get this thing working!
Sorry, seem to have missed this request. Have you managed to get it working since?
I believe the HyperPixel4 i2c port is available on bus 3, but you can find which by running ls /dev/i2c-*
Then when you create an instance of the TrackBall class, you should pass in the right bus number, ie:
trackball = TrackBall(i2c_bus=3)
Hi there, thanks for your help.
Do you have a tutorial on how to make the the trackball work with an arduino pro micro (or i guess an adafruit trinket or something). I tried following the instructions, but cannot get it to work at all.
We do not- we don't have first party support for those devices for better or worse. Ordinarily I'd be up for helping you get it up and running- the library for the trackball is quite simple and should be easy enough to port- but I'm long out of experience with these platforms and (given current worldwide circumstances) I don't have any access to hardware.
@hammiesam I haven't yet had a chance to experiment with this and turn it into a mouse but this repo seems to have gotten most of the heavy lifting done already tseary / TrackBall His demo only uses the trackball to control the built in LED but it looks like all the parts are there to integrate it with arduinos mouse libs.
Closed as answered :)