Comments (5)
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.
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.
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.
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.
I have created a separate issue for MacOS M1 installation problem #10.
from pyspacemouse.
I think it has been fixed with #10
from pyspacemouse.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyspacemouse.