Simulating Physical Keypress - keyboard

So I have a keyboard, and it has a mode where it lights up every key you press.
I was wondering if you could physically simulate a keypress, AHK just sends it directly to the system.
However I need a way to make the keyboard light up, because AHK doesn't do that. The keyboard is not programmable.
Solutions in mostly any language are welcome.

This is not possible, you want to send a simulate keypress to your fysical keyboard. (this is i think a mechanical switch insite the keyboard self, that does do light up if you press a key) and it is only possible if the company did make a keyboard driver that allows you to change the settings (disable - light up) in the Windows Registry. (you did not give me the name of your keyboard but you can then try to searching into the registry for example software/Logitech/settings)

Related

Keyboard key releasing on long press

recently I bought a wireless keyboard from Lidl:
SilverCrest
IAN 377704_2101 SPCC 2 A1
Model Nr.: HG08233A
Everything works great, but there's some setting that releases the button after it was being pressed for 22 sec. I know it's a time-related setting because I was playing with the key repetition setting and no matter how fast/slow it was typing(repeating the same key over and over), it stopped after 22.XX sec. (measured on my watch, so that's why .XX).
Has someone any idea how to turn that off, so the button stays pressed till I release it? It's making the keyboard useless for gaming.
Filter keys: OFF
Sticky keys: OFF
Toggle keys: OFF
I have one more wireless keyboard from ConnectIt and it doesn't have that issue, so it must be something drivers/settings related.
I wanted to use it as a replacement for my current ConnectIt keyboard, but the purpose is development (which is great for) and gaming (which is impossible due to key releases).
I've tried to look into registry, but I wasn't able to find anything.
Have a nice evening, and thanks for any ideas ;)

Capture X11/GTK+ keyboard shortcut events - change desktop/workspace

In Linux (most distros?) there is a Keyboard Shortcuts settings app that lets you set keyboard shortcuts like the key combination that minimizes a window or switches to the next workspace/desktop or moves to the next media track. I want to connect to the event that is fired when the defined shortcut is pressed rather than the key combination as the key combination can change but the event is always the event. Specifically I want to capture the next/previous workspace/desktop events, not the workspace/desktop changing, but the keyboard request to make the change.
However, I cannot figure out where these events are surfaced. Does anyone know where I might connect to these events? I would think GTK+ has some way to surface it, but even if I have to go down to X11/XLib, I'm ok with that.
Ultimately I will code this in python, but for now I'm just looking for a way to capture these events.

disable the keyboard FnLock at startup

The FnLock key is activated at boot on my wired keyboard.
Is there a way to disable it?
Unfortunately, pressing the FnLock key is not visible through showkey nor keytouch.
it is really annoying because all the F1... keyx are remapped to unwanted actions like closing the window.
The FnLock key is under the control of the keyboard firmware and there is no way for software to change this. You would need to rewrite the firmware, but the keyboard manufacturer will not tell you how.

How do I write a simple program to show a notification when CAPS LOCK is pressed?

Forgive me if this is a silly question but I am a novice programmer, and I'm hoping there is a novice solution to this.
Is there any programming language that will quickly allow me to write a simple program to show a notification on Windows 7 when CAPS LOCK is pressed?
My laptop doesn't have an indicator light and I have no program on my computer to do so, although I'd be open to suggestions. The only partial solution I've found is through accessibility settings in Windows which plays a god-awful beep every time the key is pressed.
Thanks!
Try Auto Hotkey. It is a great program just for that. It runs scripts in the background that can directly manipulate your keyboards input.
I changed capslock to require ctrl+capslock to work otherwise pressing capslock by itself does nothing :)
You can also do a bunch of other things. You are able to set a custom tone for when you push capslock (however a simple popup or key remapping would probably be best).
Here's an example from the site:
"Capslock::Ctrl Makes Capslock become a Control key. To retain the ability to turn Capslock on and off, also add the remapping +Capslock::Capslock (this toggles Capslock on and off when you hold down the shift key and press Capslock)."

Hooking softkeys on Windows?

My laptop has a mysterious "AV Now" button on it, which would usually launch Samsung's "AVStation Now" application. I don't have this application installed, so I'd like to get this button to do something else.
So (and this question can be generalised to any keyboard with softbuttons on it), how would I go about writing a Windows program (C++ or C#) to:
Figure out what pressing this button does. Is it a custom USB HID device, or is it just an obscure key combination?
Install a global hook for this button, so that I could get it to do something useful.
I'd like to get this button to do something else.
If you don't insist on writing the program yourself, you can remap keys: These extra buttons are mostly just obscure key combinations, and in WinXP and above it is possible to remap just about any button on the keyboard to any other by modifying a registry setting at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
There exists a frontend utility to do this for you: check out SharpKeys. You select the key to remap from, key to remap to, write to registry and reboot. (Writing the keymap into the registry requires administrative privileges, as the keyboard mapping is global for all users.)

Resources