Code Monkey home page Code Monkey logo

trackball-python's Introduction

Pimoroni Trackball Breakout

Build Status Coverage Status PyPi Package Python Versions

Installing

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

trackball-python's People

Contributors

gadgetoid avatar ginkage avatar sandyjmacdonald avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

trackball-python's Issues

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!

Is there a Raspbian driver available?

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.

Arduino support?

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!

mouse.py and evdev-mouse.py not working

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.

Trackball service install fails with cannot find module evdev message.

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.