Comments (4)
The device index/type/register have to be matched anyway to recognize the reply (see lib/logitech/unifying_receiver/base.py
:request()
). Same goes when receiving an 0x8F reply. The initial request messages are also randomized whenever possible (usually HID++ 2.0 requests).
As for making the messages asynchronous, it would complicate the way the app works way too much. Usually when making a request, from whatever thread (and the Gtk GUI thread is the most sensitive to this), you need the reply right away to work with it.
Also, threading in python is... not great. Right now there's a separate thread just listening for events from the receiver/devices, the other requests are made in whatever thread needs the reply. In previous versions I've tried different solutions, and this one appears to work best so far, at least within the application.
from solaar.
Now that the 0.9 release is coming up, I've done a review of the behaviour of Solaar when solaar-cli
is run in parallel. Tried listings, pairing and unpairing, and in all cases the state was correctly updated in the running Solaar.
If no more errors are reported by next week, will close this bug.
from solaar.
If no more errors are reported by next week, will close this bug.
Long time has passed. @Lekensteyn , is this still valid?
from solaar.
I guess that the matching of responses againsts requests should be sufficient.
from solaar.
Related Issues (20)
- G-key diversion broken by update 1.1.9 HOT 15
- POP KEYS device support HOT 1
- Issue with two mouses with the same model HOT 2
- Keyboard name display abnormally on left side HOT 4
- Logi "Flow" HOT 2
- M185 with C534/C542 problem HOT 3
- assertion failed with Logitech BT Mini-Receiver from diNovo Edge keyboard HOT 17
- G-Keys mapping does not work HOT 2
- After suspend swap fx function does not work properly anymore HOT 25
- MX Anywhere 3 wheel scroll not working after upgrade to xubuntu 23.04 [solved] HOT 16
- MX vertical mouse , want to put change host button to middle button ??? HOT 2
- Add support for `Logitech G300s` HOT 2
- Random changes of the icon for the shell integration in Ubuntu 23.04 HOT 25
- Add the typical B/W icon for the shell integration HOT 5
- After upgrading from 1.1.8-1.fc37 to 1.1.9-1.fc37 GKeys on G613 stop working HOT 2
- Keypress rules need to have the key diverted HOT 4
- Rule Editor Key to include only specific device selected HOT 6
- Customizing gesture smart shift Logitech MX Master 3 HOT 10
- solaar reports that 2 devices are paired to lightspeed receiver HOT 4
- Is mapping the forward/back mouse buttons to combination of keyboard keys doable with Solaar? HOT 1
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 solaar.