Comments (4)
Only if you want to proxy all events and exclude the original keyboard in the compositor.
You can't disable events on an existing keyboard device. evscript (and everything, really) has read only access to actual keyboards' /dev/input/*
entries.
from evscript.
evscript does not remap (unless you want to proxy all keys through it and disable the original keyboard from the compositor). If you're okay with the original key combo also being pressed, that's easy.
from evscript.
Oh I see. Is there a way to disable the event generated by the original keys and only emit the key events that we want? If we can export the function to disable a key event, that should be fairly easy to implement key remap in dyon script
from evscript.
@myfreeweb OK, thank you. I will try a different way since this seen to be a big task
from evscript.
Related Issues (12)
- Cargo.Lock invalid? HOT 2
- Possible security improvements HOT 2
- Add Hyper_L, Hyper_R and Mode_switch keys to the stdlib HOT 4
- rusty-sandbox moved to crates.io HOT 2
- example not like xcape HOT 3
- [request] add a SpaceFN function to your stdlib.dyon? HOT 3
- thread 'main' panicked at 'ioctl: Sys(EINVAL)' HOT 12
- doesnt compile with openssl 1.1.1 HOT 2
- Remap helper(?) HOT 3
- Error running? HOT 11
- The main example doesn't work HOT 16
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 evscript.