trackball-python icon indicating copy to clipboard operation
trackball-python copied to clipboard

Will this trackball work with Hyperpixel 4.0 touch's ic2 port?

Open hammiesam opened this issue 5 years ago • 5 comments
trafficstars

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!

hammiesam avatar Nov 23 '19 03:11 hammiesam

Sorry, seem to have missed this request. Have you managed to get it working since?

Gadgetoid avatar Mar 09 '20 15:03 Gadgetoid

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)

Gadgetoid avatar Mar 19 '20 13:03 Gadgetoid

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.

hammiesam avatar Mar 20 '20 08:03 hammiesam

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.

Gadgetoid avatar Mar 20 '20 10:03 Gadgetoid

@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.

mikekscholz avatar Mar 25 '20 10:03 mikekscholz

Closed as answered :)

thirdr avatar Jan 07 '25 12:01 thirdr