Comments (8)
I should note that I use fluxbox, so I'm not the best for testing if one of the big DEs will automatically interpret the commands correctly. I have to manually map the keys to commands (which is how I discovered the bug in the first place).
I would say that once we have Fn-F5 and Fn-F7 sending codes correctly, that we will have sufficiently addressed this bug. Making sure that all options for binding in the Swarm software are available in Eruption would be more appropriate in a separate feature request, and can be deferred to a future release.
from eruption.
Using the beta code from issue #29, I was able to confirm that F5 through F8 are coming through as keycodes 152 (Explorer), 180 (HomePage), 163 (Mail), and 148 (Calculator).
from eruption.
I will update this thread with a complete list of missing/miss-assigned keys that I find.
That would be great! Thanks in advance!
from eruption.
I've collected the data from the Windows side, but I probably won't be getting to the Linux side until tomorrow night. For Starters:
Fn-F1 Through Fn-F4 are kept internal to the keyboard (profile switching)
Fn-F5=182 (Computer)
Fn-F6=172 (Default Browser)
Fn-F7=180 (e-mail)
Fn-F8=183 (Calculator)
Fn-F9=177 (Previous Track)
Fn-F10=178 (Stop)
Fn-F11=179 (Play/Pause)
Fn-F12=176 (Next Track)
Fn-PRINTSCR and Fn-BREAK can be assigned in swarm, but default to the un-modified command.
Fn-SCROLL toggles game mode and is kept internal to the keyboard
No other keys have an alternate "Fn" in Swarm
Looking at Swarm, there are many more of these "open this thing" style commands that I will need to assign and capture to fully complete this list. I'll come back and do that at a later date.
from eruption.
I'm wondering if Linux doesn't use different keycodes for the "open this thing" and "media control" keys: I did a quick run of F5-F12, and am getting different keycodes, but correct descriptions for the function.
Fn-F6=158 (XF86WWW)
Fn-F8=148 (XF86Calculator)
Fn-F9=173 (XF86AudioPrev)
Fn-F10=174 (XF86AudioStop)
Fn-F11=172 (XF86AudioPlay)
Fn-F12=171 (XF86AudioNext)
from eruption.
I think what we are looking for is
F5: #define XF86XK_Explorer 0x1008FF5D /* Launch file explorer */
F7: #define XF86XK_Mail 0x1008FF19 /* Invoke user's mail program */
but I haven't been able to find keycodes for those keysyms
from eruption.
Yes, you are right! With commit 2559364 I did enable some evdev keycodes on the Eruption virtual keyboard device, which were previously missing. I also changed KEY_WWW
to KEY_HOMEPAGE
, since this is what the keyboard emits without Eruption being running.
Key | evdev event | X KeySym |
---|---|---|
F5 | KEY_FILE | XF86XK_Explorer |
F6 | KEY_HOMEPAGE | XF86XK_HomePage |
F7 | KEY_MAIL | XF86XK_Mail |
F8 | KEY_CALC | XF86XK_Calculator |
These changes will be included in the next release of Eruption.
from eruption.
Thank you, great! I will close this issue now.
from eruption.
Related Issues (20)
- Shockwave script - Better blending of colors for keypress HOT 1
- Eruption service fails to start on Siduction (Debian Sid) HOT 1
- GitHub Sponsors HOT 1
- RustC Compiler Error E0658 HOT 1
- Roccat Kain 100 AIMO mouse buttons no longer detected. HOT 4
- Missing packages from Ubuntu PPA HOT 1
- [BUG] Input spam on X11 console screen HOT 2
- Brightness Controll doesn't work on Fedora 37 HOT 1
- Add Support for Roccat Vulcan II max
- Add support for ROCCAT Ryos mk fx
- Initialize Failure Flooding Journal HOT 2
- "ROCCAT Vulcan Pro" keyboard not working anymore HOT 1
- Eruption sometimes fails to autostart, causes keyboard flickering
- ROCCAT Kone Pro Air debounce time
- Vulcan pro and kone pro not seen on gui HOT 2
- lots of logging to /var/log/warn "Could not process a mouse event: receiving on a closed channel" HOT 11
- Move "ROCCAT Vulcan Pro Keyboard" out of experimental HOT 1
- Bugs HOT 3
- Eruption 0.3.3 fails to start automatically on Ubuntu 23.04 HOT 3
- Add Support for ite8291 (XMG/Tuxedo(?) Laptop Keyboards) 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 eruption.