this post was submitted on 25 Nov 2024
72 points (98.6% liked)

Linux

48677 readers
352 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Don't know if this is really the right place for this, but I can't imagine trying to do this on windows! Not saying it couldn't be done, but I wouldn't know where to start

I got a new laptop with a backlit RGB keyboard, but no capslock, numlock indicators. I figured I could solve that by just setting the backlight of the key if capslock is enabled. I got that working, but that's boring.

While I was doing that I realised that I was baaaasically working with a 20x6 LED display sooooo...

Behold! Playing snake on my laptop!

Source code is very specifically for my Kfocus M2 Gen 5, which I believe is just a branded Schenker KEY 17 Pro (M24)

Having said that, it could be adapted to other keyboards fairly easily:

https://gist.github.com/Kraiden/5393bc30f4c29d8b8dd51b4c21c0c829

you are viewing a single comment's thread
view the rest of the comments
[–] loaExMachina@sh.itjust.works 8 points 4 weeks ago