Stable library from PyPi:
- Just run
sudo pip install trackball
Latest/development library from GitHub:
git clone https://github.com/pimoroni/trackball-python
cd trackball-python
sudo ./install.sh
Python library for the Pimoroni Track Ball Breakout
License: MIT License
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!
This is more of a request for clarification than an issue. It's suggested that there's a Raspbian mouse driver for the trackball, but I'm unsure if that's really the case and, if that's so, how to install it.
https://forums.pimoroni.com/t/pim447-trackball-how-to-get-a-clean-int-signal/17968
See above thread on the pimoroni forums. It seems the INT signal is polled? This means this trackball is not suitable for wireless use. Can this be fixed, or is it hardware related?
You specifically advertise this as being "perfect for adding navigation or control to your Raspberry Pi or Arduino projects." Yet you have zero Arduino support for it, not even a basic listing of I2C registers and how to use them unless you're prepared to reverse engineer the python library. An Arduino library would be nice but in the absence of that could you as least document the protocol!
Hi there! The documentation is a bit sparse, so on a fresh Raspbian install neither mouse.py nor evdev-mouse.py run. It would be useful to add the following notes to the docs:
For mouse.py to work, xautomation is required:
sudo apt-get install xautomation
For evdev-mouse.py to work, Python evdev is required:
sudo pip install evdev
A further issue is that, once these requirements are installed, mouse.py fails to compile with a wrong 'maths' statement on line 4. I'm not a Python programmer so can't be of much help on this, unfortunately.
Running the Trackball service install fails with a cannot find module evdev message.
It looks like its installing the python 2 version but looking for the python 3 version.
If I run sudo pip3 install evdev and then rerun sudo ./install-service.sh it then works, and the trackball works on boot up.
This is with the latest Pi OS version.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.