Skip Navigation

GitHub - Showing current time on keyboard (QMK)

Hi all!

I just recently got a keyboard programmable via QMK with two screens on the keyboard. I wanted one of those screens to show the time. Simple right? Well, surprisingly, I haven't been able to find any previously written code to do that. The problem being of course, that the keyboard doesn't have a battery, and so can't keep track of the time itself. Instead, the connected PC has to send the time to it. So, like any programmer would do, I spent way too much time making a program that does just that!

In case anyone else wants this, or comes looking for this in the future, I've provided the necessary code and instructions in the Github repo - send-time-to-hid-keyboard. It's my first ever program written in Rust, so suggestions are welcome but don't be too harsh.

I've only tested the program so far on Windows, so if anyone does try it out and then runs into any problems, do open an issue on GitHub and I'll resolve it ASAP.

6

You're viewing a single thread.