Code Monkey home page Code Monkey logo

Comments (18)

terrycain avatar terrycain commented on June 5, 2024 3

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.

nachitox avatar nachitox commented on June 5, 2024 2

I would love this!

I want my keys on low brightness and add reactive/ripple effect on key press.

from polychromatic.

eghere avatar eghere commented on June 5, 2024 1

https://gist.github.com/bluzukk/2f5ce1d21bcafbf6dd70d0b8f95a30f1

This solves this issue using a python script.

How do you run the python script?

from polychromatic.

lah7 avatar lah7 commented on June 5, 2024

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):

screenshot at 2016-06-01 13 01 05

image


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.

PychoPc avatar PychoPc commented on June 5, 2024

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.

lah7 avatar lah7 commented on June 5, 2024

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.

sranger avatar sranger commented on June 5, 2024

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.

terrycain avatar terrycain commented on June 5, 2024

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.

sranger avatar sranger commented on June 5, 2024

Thanks for the update

from polychromatic.

tghastings avatar tghastings commented on June 5, 2024

Hi! Any update on this? I'd love to be able to set the base color for the reactive keys.

from polychromatic.

lah7 avatar lah7 commented on June 5, 2024

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.

UndarkAido avatar UndarkAido commented on June 5, 2024

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.

lkd70 avatar lkd70 commented on June 5, 2024

Bump for an update?

from polychromatic.

lah7 avatar lah7 commented on June 5, 2024

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.

cryptozeny avatar cryptozeny commented on June 5, 2024

still no update?

from polychromatic.

lah7 avatar lah7 commented on June 5, 2024

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.

bluzukk avatar bluzukk commented on June 5, 2024

https://gist.github.com/bluzukk/2f5ce1d21bcafbf6dd70d0b8f95a30f1

This solves this issue using a python script.

from polychromatic.

lah7 avatar lah7 commented on June 5, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.