Page 1 of 1

Disable B key in PowerPoint

Posted: 01 Apr 2019, 15:22
by telemach
I have simple wireless presenter that registers with Windows as a HID keyboard and sends B key if long pressed. I would love to disable this B in PowerPoint but it's not an option so I am using this

to replace B with other key

Code: Select all

If	(DllCall("GetAsyncKeyState", "int", 0x42, "ushort") >> 15) {
	Hotkey, b,, Off
	SendInput, b
	Hotkey, b,, On

a::SendInput, b
problem is that it's not working like it should and affects also physical keyboard in my laptop

is it possible to pass HID VID PID name to script so it would know desired keyboard ?

Moderator Note: Added code tags. ~ sinkfaze