Skip to content
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

Customize LED segment display #660

Open
MattKunze opened this issue May 30, 2018 · 13 comments
Open

Customize LED segment display #660

MattKunze opened this issue May 30, 2018 · 13 comments

Comments

@MattKunze
Copy link

@MattKunze MattKunze commented May 30, 2018

Currently the LED segments show the currently selected keymap ('QWM', etc). For me at least this is something that will rarely/never change, so the display doesn't really provide much information. It would be awesome if these could be overridden with a console utility (uhk --leds 'FOO') to display arbitrary text.

Why? This is the ultimate hacking keyboard, so mainly it just seems like stuff like that should be hackable ;) I could see writing a script to update it with the current CPU load, polling the outside temperature, hooking it up to the current terminal to display additional status, who knows.

Not sure if this belongs here or the firmware repo, thought I'd get the discussion started somewhere though.

@mondalaci

This comment has been minimized.

Copy link
Member

@mondalaci mondalaci commented May 30, 2018

Good point, and this is something that we planned. Now we also have an issue for it. Will do eventually. :)

@luteijn

This comment has been minimized.

Copy link

@luteijn luteijn commented Jun 19, 2018

To expose the LED (and future expansions, like e.g. an i2c lcd display or other gadget) it might be useful to have the uhk also present itself as a usb-serial converter so scripts have something straight-forward to talk to. Alternatively/additionally agent could act as a proxy, but I guess you already have some ideas for this.

@mondalaci

This comment has been minimized.

Copy link
Member

@mondalaci mondalaci commented Jun 19, 2018

@luteijn Yep, the plan is to expose Agent as a proxy. Regarding communication, the already existing generic USB HID interface will be used. It's binary, but creating an additional USB serial interface would create a lot of bulk.

@richrd

This comment has been minimized.

Copy link

@richrd richrd commented Aug 7, 2018

A command line tool for setting leds would be amazing! Not sure how easy and cross platform that would be though. I'd love to have it show various status info from my computer etc.

I'm curious whether the led display accepts just characters or can the segments be addressed individually?

PS just got my UHK today and gotta say it's even more fun than I expected! :)

@mondalaci

This comment has been minimized.

Copy link
Member

@mondalaci mondalaci commented Aug 7, 2018

@richrd Yep, the LED display segments will be individually controllable. This is much needed for showing characters that resemble the predator alphabet, and who are we to stop you from doing that. :)

So glad you're having fun with your UHK!

@lrascao

This comment has been minimized.

Copy link

@lrascao lrascao commented Oct 12, 2018

👍 i would also like to see this, btw great job!

@Spark3000

This comment has been minimized.

Copy link

@Spark3000 Spark3000 commented Feb 13, 2019

Awesome.

@norrs

This comment has been minimized.

Copy link

@norrs norrs commented Mar 5, 2019

This would be awesome, could use it for showing current xkbkeymap language, ie if Im currently using english keyboard or native norwegian.

@FatBoyXPC

This comment has been minimized.

Copy link

@FatBoyXPC FatBoyXPC commented Apr 7, 2019

I think it would be neat if we could include some scripts to be stored on the keyboard, triggerable by the keyboard as well. Similar to how you can change layouts with the keyboard.

@mondalaci

This comment has been minimized.

Copy link
Member

@mondalaci mondalaci commented Apr 7, 2019

@FatBoyXPC This is not planned. Generally speaking, Agent is only meant to configure the UHK. You can achieve what you're after by setting up an unused shortcut (such as Ctrl+Alt+Shift+F13) for a key and bind it to your window manager to execute a script.

@FatBoyXPC

This comment has been minimized.

Copy link

@FatBoyXPC FatBoyXPC commented Apr 7, 2019

Yeah, I figured that would be the immediate implementation but I was hoping having scripts there were movable with the keyboard would be on road map, too. It's not a big deal, though, as really my main use case for this is only with one computer anyway.

@jsarbour

This comment has been minimized.

Copy link

@jsarbour jsarbour commented Jun 19, 2019

+1 to this FR. I'd love to use mine as a clock (and run the hours in Hexadecimal I guess on one digit)

@BrianGaucher

This comment has been minimized.

Copy link

@BrianGaucher BrianGaucher commented Oct 11, 2019

Using it as a clock would be great. What if there was a LED display module?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
10 participants
You can’t perform that action at this time.