Git Product home page Git Product logo

Comments (5)

JakubAndrysek avatar JakubAndrysek commented on May 30, 2024

Hi, I have tested latest version with Space mouse PRO and everything works smoothly. I am using Ubuntu 22 which works perfectly for me.

On which platform have you tested your code?

My library reads data from mouse directly from HID USB. In the background is only HID driver, that might be problematic and slow.

I haven't measured the time of read loop, but it is usually tens to hundreds of iterations per second.

from pyspacemouse.

misz11 avatar misz11 commented on May 30, 2024

I'm using MacOS Ventura in a virtual Conda environment.
Reading works really fast but the inputs are very long-lasting and take a long time to disappear.

Bildschirm­foto 2023-03-16 um 09 24 17
I was able to work around the problem by making a for loop around the reading function. But that's just a messy solution.
Then the inputs disappear faster and it is still possible to run the whileloop with 100Hz.

Is it possible that the problem is with the cache and all inputs must be read first (fist in first out)?
I did a quick test, my results attached.
test.pdf

from pyspacemouse.

JakubAndrysek avatar JakubAndrysek commented on May 30, 2024

Thank you for your report.
My second PC is Macbook Pro M1. I haven't run the library on macOS yet.
I have tried to install hidapi through brew install hidapi, but it doesn`t work for me.
Is it necessary to add some file to system PATHs?

Could you please add more information about your installation to README - Installation

from pyspacemouse.

JakubAndrysek avatar JakubAndrysek commented on May 30, 2024

I have created a separate issue for MacOS M1 installation problem #10.

from pyspacemouse.

JakubAndrysek avatar JakubAndrysek commented on May 30, 2024

I think it has been fixed with #10

from pyspacemouse.

Related Issues (8)

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.