Comments (2)
Hi,
zero_hid
uses usb gadget linux driver under the hood.
I don't think that this driver supports registering / listening to caps lock change, but instead looks like there's a way to check it with polling (by sending request and getting response whether it's on / off)
from zero-hid.
Hi,
zero_hid
uses usb gadget linux driver under the hood. I don't think that this driver supports registering / listening to caps lock change
It might be possible that you have to change the keyboard descriptor to also include a read report. You can see an example of the descriptor that I use with CP in the link below. In the read report, it will have the states for locks and LEDs.
https://github.com/jzhvymetal/PY_Barrier/blob/main/KM_CPHID_ACTORS.py
When I find time I want to try to get my above project to also work native on the PI's that support HID in Raspbian.
from zero-hid.
Related Issues (18)
- Add tests
- Publish package in pypi HOT 1
- copy keymaps folder to package when building HOT 2
- Implement multi language support
- check if usb gadget installed HOT 1
- Implement multiple keyboard keys at once, like win+r
- Add tests into github action
- Implement scrolling
- [Errno 108] Cannot send after transport endpoint shutdown
- Problem of HID interface HOT 3
- Sending absolute positions for mouse movement HOT 11
- License? HOT 6
- Typo in Homepage on PyPI HOT 1
- Capslock status of host HOT 1
- Is there a way to make the mouse move and not teleport? HOT 1
- What measure does the x and y move in is it pixels? HOT 1
- Enable Azerty HOT 3
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 zero-hid.