evilC / AutoHotInterception

An AutoHotkey wrapper for the Interception driver
MIT License
707 stars 64 forks source link

Newbie, How to rewire keys on second BT keyboard (numpad)? #117

Open PeterP1975 opened 2 weeks ago

PeterP1975 commented 2 weeks ago

Hi, Setup: 2 BT devices: K380 logitech keyboard, 2nd is numpad from China that sends wrong keycodes (Keycodes 0-9 = the same in logitech keyboard number row). Lack of proper keycodes on numpad made me to remap numpad keys to proper ones: Numpad1, Numpad2 instead of 1, 2 etc. No changes to K380 logitech keyboard.

So far i have:

SingleInstance force

Persistent

include Lib\AutoHotInterception.ahk

AHI := AutoHotInterception()

keyboardId := AHI.GetKeyboardIdFromHandle("HID{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col01") AHI.SubscribeKeyboard(keyboardId, true, KeyEvent)

return

WHAT NEXT? How to remap, i only have isolated keyboard (numpad) number.. Cheers Peter