Keyboard key releasing on long press - keyboard

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 ;)

Related

Windows 10: reset keyboard layouts possible?

Solved, see below!
Is there a way to reset keyboard layouts in general in Windows 10?
I messed up using Microsoft Keyboard Layout Creator some time ago, and I'm not able to fix it.
This is NOT something that can be fixed through anything in Language preferences, btw.
Last year, I was stupid enough to try to fix my keyboards on a "lower level".
I use the Norwegian and Korean keyboard a lot, sometimes also Japanese and Canadian French.
I have a hard time using symbols, like ";" - "'" - "~" etc, since these are placed differently on the various keyboards.
I looked for a solution, and found "Microsoft Keyboard Layout Creator". I tried to fix the keyboards, but it didn't work that well since it had problems with the Korean keyboard. I thus tried to change the Norwegian keyboard somewhat, so that I would be able to write more efficiently, without always checking what keyboard I was using (the Korean one also has the American one ingrained, with a simple push of Alt-Gr).
I also have tried to make a shortcut to go from Norwegian to Korean and back seamlessly, without scrolling through other keyboards as well (Win+Shift scrolls through all available ones).
I don't remember exactly what I did, but it didn't really work out, so I thought I deleted the customized keyboards, and went back to the regular ones.
But there was a problem: one of the keys, VK_OEM_3, the one to the left of "L" to be exact, (";" on a regular US kezboard) no longer worked in Norwegian when used in a regular way. At first, it changed keyboard every time I used it to write regularly. I had set it up to do this when pushed WITH another key (probably AltGr), but something was not right.
I managed to delete the customized keyboards, deleted and reinstalled the Norwegian keyboard from Microsoft, but lo and behold, the key no longer worked. I.e, it works when I push it down for a long time, maybe half a second, and then I get a lot of "øøøø". When using TeamViewer, it dosn't even help to hold the key in for a long time. And the digital keyboard certainly does not work.
I have tried to download other keyboards, and the key works well for A-Z and symbols that exist on a US keyboard.
Thus, the French keyboard, where it is an "M", works well. As does US and Korean keyboard layouts where it is an ";".
But it works as badly for Danish layout, where it is an "Æ" or German layout, where it is an "Ö". Both of these layouts were downloaded for the first time after I had messed up.
I have tried kbdEdit, that made me end up with a German keyboard layout I had a hard time to get rid of, even though I deleted it multiple times from "Langauge preferences".
I haven't learned kbdEdit well though, so it might work out.
But I'm afraid that it might not work, and that I
But what has happened here? I used a Microsoft program, and thought that would be safe enough, even though I was warned it might not work, since it's old. But messing up one key completely...
I have deleted all the new keyboards from the Registry (HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Keyboard Layouts), btw. But it's apparently on a lower level than this, since there are problems with all kinds of keyboards that have "extended Latin" letters on that place.)
What I wonder, is if there is a file that can be replaced with a standard file. I don't really want to reinstall Windows and my hundreds of programs, but I can hardly work in Norwegian the way things are now.
I have to check the phrases for eventual missing "ø", and when I remember the problem, it stops my flow since I have to push down for a long time and then delete the extra "øøø"s.
I finally managed to fix the problem:
Under registry keys, in my case in multiple locations, there is a map called SYSTEM\KeyboardLayout\Substitutes.
I deleted everything but the default one in all of these, and now it works!

Manjaro linux compose key gives incorrect behavior

I installed Cinnamon Manjaro linux on my 2017 QWERTY Macbook Air. Kernel: 5.4.27-1-MANJARO.
I've tried changing my keyboard languages, but my compose key always produces the same behavior -- that of a US (intl) keyboard. I don't know why.
I've tried setting my compose key to different things, like LWin or RAlt, no luck.
Ideally, I want the same key behavior as that on Mac. My current keyboard layout is English (Macintosh). Everything works, except for all of the compose key combos / accents, which all seem to produce US(intl) dead key outputs.
Things I've tried:
changing my keyboard layouts, from GUI to setxkbmap.
changing my compose key
manually setting the value of Option "Xkblayout" "mac" in /etc/X11/xorg.conf.d/00-keyboard.conf
Failing to understand how to manually force set the accent keys I want via xmodmap :(
Thanks for the help.
Solved: I realized that there was another keyboard which Xorg was somehow (I don't know how) set to, other than English (Macbook). I ran setxbmap -option which had the effect of "resetting" my keyboard to the layout I'd correctly chosen via the GUI.
I don't much understand how / why Xorg persisted in using another keyboard layout despite what I had entered in the GUI keyboard settings -- somehow it survived a reset through multiple computer restarts throughout these past days. But it works.

Simulating Physical Keypress

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)

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)."

Linux single key presses triggering multiple-key combinations

I understand that new keyboards can be ordered online, but now that this problem has proven to be hard I am completely fascinated by it.
Many old laptop keyboards as they wear develop consistent shorts which cause multiple keys to react when a single key is pressed. For example, on my little sister's computer if you press "r" the system outputs "vr", "i" outputs ",i" and so-on.
Assuming the user is not a vim/emacs power user, the keyboard still seems salvageable. It seems that if the keyboard driver was changed so that pressing the "r" key resulted in the computer accepting "backspace r" the "v" would disappear and not be such a hassle anymore.
Xmodmap XKB and other systems seem to assume that each single key depression will result in a single command. Does anybody understand the missing link where more than one character can come from a single keypress? There seem to be many places in the stack where this can be pulled off, but none of them are particularly clearly documented. Another fun fact is that you can't force this in the ubuntu keyboard shortcuts editor, ubuntu will stop you from entering the changes there under the premise that "this will make it impossible to type."
Hacking around in xev shows that the computer believes that when you hit and release 'r' that it gets a keypress event for 'v' then a keypress event for 'r' then a keyrelease event for 'v' then one for 'r'. If you could change the configuration to ignore a first keypress if there is no corresponding key release before the next key is pressed, that would work too.

Resources