Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hammiesam opened this issue Nov 23, 2019 · 5 comments
Open

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

hammiesam opened this issue Nov 23, 2019 · 5 comments

Comments

@hammiesam
Copy link

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!

@Gadgetoid
Copy link
Member

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

@Gadgetoid
Copy link
Member

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)

@hammiesam
Copy link
Author

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.

@Gadgetoid
Copy link
Member

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.

@mikekscholz
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants