Forum Moderators: phranque

Message Too Old, No Replies

Help me block an specific key under Windows

I need to disable a key

         

explorador

10:06 pm on Jul 23, 2024 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hi, this is odd, I came across a weird HP bug, it's the combination of a hardware and software (driver) problem.

Yes, I searched all over the web, found others with the same issue, but no solution.

Behavior: the rotation of the screen/device and the position of the keyboard are both used to disable the keyboard and touchpad when in tablet mode (because in this case, the keyboard is not detachable). However, there is a bug between the hardware and software causing a key press to be pressed. No, there is no problem with the keyboard, no ribbon damage, no lines broken, no short circuit, and no key being pressed or stuck.

Whenever the screen is rotated (via software, or physically) AND whenever the computer wakes up from sleep or is turned on, the key appears pressed. All I need to do is to press any key, and everything goes back to normal. the bug is activated because of the actions described. Some users report the same key, others report a different key, no, replacing the keyboard doesn't solve the problem. Sadly, it is also a hardware problem, meaning weird things happen under Linux too.

Turns out... the whole family of HP (Pavilion or Elite) x360 2 in 1, have a colorful variety of bugs, some appear right away, some will appear eventually.

What's that? ah, yes, I'm glad you asked: no, there is no beep when I turn on the computer, I can turn it on and there is no classic "error, keypressed whatever keyboard problem", nope, it's as I explain, the problem appears whenever a routine is triggered (rotation, device unlock/session, wake). Unfortunately there is no fix, in fact, intel didn't even updated the Windows 10 driver for their own sensor software. And as far as I have read, there is no BIOS update fixing this.

I've tried diff solutions, some block the whole keyboard (that's cool), but then I need to unlock it via weird methods, but yes, while the software blocks the keyboard I don't get the insisting {{{{{{{{{{ (not all the programs offering this functionality work). SharpKeys is not doing it's job, I mean, I tried specific apps to block specific keys with no luck, EXCEPT one at US$9, I may buy it, the thing is... not only I would prefer a FREE solution, but also, a known name that makes me feel confident on using my credit card, thsi app is unknown, unknown brand too.

explorador

10:15 pm on Jul 23, 2024 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Missing detail: unfortunately, because of how they built this laptop, the "disable/enable" option is not available under device management, meaning I can't disable the keyboard temporarily via powershell, cmd, devcon, etc.

engine

7:09 am on Jul 24, 2024 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Well, that's an odd one.

I assume you've updated bios.

explorador

5:58 pm on Jul 24, 2024 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Yes, it's a weird problem. I went over a huge rabbit hole reading about the bugs these laptops have, the HP (Pavilion and Elite) X360, that's a huge family. Found others with the same issue, no solution except changing the motherboard, it's a complex story.

Yesterday tried like 10 diff applications and diff methods (apps, command line, etc.) A partial fix was blocking the whole keyboard, but the apps to do this require weird methods to unblock it, meaning I can't automate the solution.

FINALLY, I FIXED IT TODAY.

Used SharpKeys (free), tried yesterday and it didn't work. Turns out if you select the letter... let's say X, the code is 123, but turns out diff keyboards will give you a diff code regarding special keys, mine was { that's why the difference across keyboards. Managed to block the key, and not everything works perfectly (along blocking the Intel sensor).

Really weird bug!

Nope, I didn't update the bios myself, I personally avoid such practices, there are many horror stories around updating the bios.

engine

8:45 pm on Jul 24, 2024 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Great, glad it's sorted.

Bios, I use a ups to avoid issues; all been fine for me. That is tempting fate, eh!