Solve: There is no Brightness button on my new keyboard ヽ(°〇°)ノ

Search for a command to run...

No comments yet. Be the first to comment.
Transferring files between your local machine and a virtual machine (VM) is one of the most common tasks in tech. We often use scp because it comes natively installed and has similar utilization to ssh, but it is the clunkiest tool for the job. In th...

Alias Alchemy is a Deno-powered server that fetches aliases from a GitHub repository based on your query. Think of it as your instant alias spellbook, perfect for setting up new environments in seconds. ⚡ Usage: $ alias-alchemy.ra101.dev/?q=py,shell,...

Reader discretion is advised!A good Sus-Saturday to all. In this article, I drag and drown you with my paranoia about AI. Let the mass psychosis begin! What are AI hallucinations?AI hallucinations are incorrect or misleading results that AI models ge...

I recently joined a company, that follows squash-rebase flow here, and as my Git KT was going on, I figured I should build these commands before actually starting development, now that I have started development, these turned out to be quite handy! ...

Aim: To create an iterable blockchain, which could work with an extendable transaction class. Here the link GitHub repo! Blockchain in Brief: Blockchain is fundamentally a ledger maintaining records of transaction, This ledger is publicly distribute...

As the title says, I bought a new keyboard for my laptop, unfamiliar with world of keyboards, I went with the safest option, approved by many, the Logitech G213 Prodigy.
Much to my suprise, I was not able to control brightness with this new keyboard.
So, the dev inside me said, lets tackle it with software!
By the help of stack-overflow and powershell docs, I wrote a simple powershell script, to adjust my brightness...
{% gist https://gist.github.com/ra101/c2060ade52280b4fcbe3291331caf1e0 %}
.\brightness.ps1 <# No agrs will increase brightness (+10) #>
.\brightness.ps1 desc <# desc as arg will decrease brightness (-10) #>
Now I compiled this file to .exe, to replicate that,
First Install ps2exe module in powershell (as admin)
Install-Module ps2exe
Simply use this module to convert ps1 to exe
Invoke-ps2exe .\brightness.ps1 .\brightness.exe -noConsole
First I thought of using AutoHotKey, but i couldn't utilise any function key there. So, settled with G-Hub instead
Now, head over to G-Hub add this file as application, twice , one for +10 and other for -10, remember to add desc there and then change whatever Function keys you want map to brightness.
FYI: I used F6 key to change to G-shift mode. and F7 to increase brightness and F8 to decrease brightness in G-shift mode. No updation made in default mode.
Please comment, for any suggestion regarding this keyboard, or any wonderful hack you have in mind.