-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only add color_extra controls if the keyboard supports it #12
base: master
Are you sure you want to change the base?
Only add color_extra controls if the keyboard supports it #12
Conversation
Okay, so maybe not within the initial scope of this branch. But really, isn't selecting the brightness one of the most fundamental features of a backlit keyboard? |
More scope creep, i've added a button to save the settings to /etc/modprobe.d/tuxedo_keyboard.conf so the settings are applied at boot. |
Hey @jdtimmerman thanks a lot for your very substantial contribution. I need to review this first though, as I outlined my reasons for not including a brightness switch in tuxedocomputers/tuxedo-keyboard#12. Definitely open to providing it at least through the CLI. The color_extra change & modprobe implementation is definitely welcome, though I am not sure the former actually makes a difference, as I think the tuxedo-keyboard driver outputs all of its kernel module param files regardless of support (but apparently in your case it didn't). If it cannot be detected at the kernel module level, it can impossibly work on a widget front-end. My point of view is that the UI should be as straightforward as possible, but the CLI can be extended to allow more fancy developer stuff & automation. For example, this fork's commit has a nice implementation to allow HEX colors be specified through the CLI: encarsia@b2df101. IMO selecting a color is way easier and less technical than having to finetune RGB sliders, and the base colors included + option to add custom colors to a As for the issue you reported (capitalize), similar variants have popped up in the issues here before, so I will add a None-safe check there in v0.8. So for review & separate PR's:
|
@jdtimmerman I've added your first commit to master & corrected some typo's, see 01d435e |
I was having an error with opening the gui. It appearently crashed on loading the config for the optional 'extra' part which my particular keyboard does not have.
I have tested this with my - non-extra-supporting - keyboard. Would be a good idea for someone with a fourth section to test this as well.