Comments (18)
DaemonV2 would be able to do this, I actually had this exact idea ha. Once I've got the daemon working in a stable manner then I'll go about making an API so that effects can be added easily.
from polychromatic.
I would love this!
I want my keys on low brightness and add reactive/ripple effect on key press.
from polychromatic.
https://gist.github.com/bluzukk/2f5ce1d21bcafbf6dd70d0b8f95a30f1
This solves this issue using a python script.
How do you run the python script?
from polychromatic.
Do you mean setting the colour when the keys are pressed?
If so, it is already supported in the Controller and Tray Applet (by setting the colour first):
Or are you referring to setting a "reactive" colour effect for profiles? If so, that's probably quite a while off yet -- it needs to be supported in the driver's daemon (or @terrycain's version 2, still in development) before the GUI.
from polychromatic.
No, I guess not.
If I turn on the reactive effect, the keyboard LED's are off and only glow if i hit a key..
What i mean is, that the all keys LED's are activated and if press a key, it would change to a different color for a short time.
from polychromatic.
Ahh, I see what you mean. This would have to be a software effect implemented in the driver's daemon first (@terrycain's v.2 daemon would be good for this, like the ripple effect) before the GUI can make use of it.
from polychromatic.
There was also an effect in the old driver by default my keyboard would have a sort of heat map of where I had typed; is this not being in the controller a limitation of the new daemon?
from polychromatic.
Not so much a limitation, the daemon is more than capable, more I haven't got round to adding it as I want to make it so its easy to add various effects
from polychromatic.
Thanks for the update
from polychromatic.
Hi! Any update on this? I'd love to be able to set the base color for the reactive keys.
from polychromatic.
Hi. The daemon still isn't ready for custom effects yet, as it's been on hold for improved macro support at the moment.
As soon as the daemon supports it, then Polychromatic will need to work on integrating support for custom effects (hopefully with an easy interface for designing them too!)... plus this one will need to be created, which should be fairly easy apparently. 👌
from polychromatic.
I would also love ripple with a static background, that's what I run on Windows. I'm looking forward to the custom effects!
from polychromatic.
Bump for an update?
from polychromatic.
It's fair to say I have no idea on the progress at daemon-level. About this effect, I've been told by @terrycain :
In custom lighting there's probs functionality to do it
So I guess if someone wishes to create a Python script that produces this effect, please go for it -- this is daemon-level stuff, independent to Polychromatic. It's going to be a long while before I get round to figuring this out.
from polychromatic.
still no update?
from polychromatic.
3 years is a long time - OpenRazer does have an API that makes it possible to write an effect like this in conjunction with another library to detect key presses.
The current situation is that Polychromatic v1.0.0 will introduce a new effects engine, but won't support custom interactivity for the moment. When key rebinding is supported in a future release, then this will provide the knowledge to support interactive effect layers - such as this reactive effect with a static colour underneath.
from polychromatic.
https://gist.github.com/bluzukk/2f5ce1d21bcafbf6dd70d0b8f95a30f1
This solves this issue using a python script.
from polychromatic.
How do you run the python script?
Download and run it from the Terminal, for example:
wget https://gist.githubusercontent.com/bluzukk/2f5ce1d21bcafbf6dd70d0b8f95a30f1/raw/d319aa76836553a9f611bd6ce18516a0d1efeb3c/keyboard.py
chmod +x ./keyboard.py
python ./keyboard.py
You may need to install a package along the lines of python-pynput
(or equivalent) if available for your Linux distribution. It can also be installed using pip install pynput
(or it might be pip3
, provided in python-pip
)
Once you get the script running, then you could add the script to your desktop's "Start-up Applications" or "Autostart" so it automatically runs at login.
from polychromatic.
Related Issues (20)
- Popup menu in system tray opens wrong direction under KDE HOT 1
- Dark Mode not matching system, top menu not working correctly HOT 9
- Unable to update the 0.80 version on Manjaro HOT 2
- no such file (openrazer.json) after updating to 0.8.1 HOT 3
- polychromatic-cli use a lot cpu or i missed something (script cpu temperature)? HOT 6
- Fedora 38 rpm policy violation HOT 16
- Polychromatic not launching after Manjaro update HOT 3
- Problems with tray applet on Fedora Rawhide GNOME HOT 1
- Tray applet crashes at startup with non-RGB devices HOT 1
- Ubuntu PPA `polychromatic/edge` is no longer signed HOT 2
- Settings don't save HOT 4
- [Basilisk Ultimate] "Inspect Matrix" turns light to static white; DPI setting not work; [Huntsman V2 Analog] page is sluggish HOT 7
- Viper V2 Pro Polling rate reverting on reboot HOT 1
- Controller crash upon startup: libQt5Widgets.so.5: undefined symbol HOT 8
- Support for Windows using OpenRGB openrazer-win32 HOT 1
- Fedora GPG keys invalid / not present in repo HOT 3
- Does not recognize individual LED assignability in Razer Book 13 (2020) HOT 1
- Basilisk V3 Pro settings change at random occurences HOT 1
- Razer Chroma Profiles HOT 1
- Meson Build Issue 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 polychromatic.