Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PeterP1975 opened this issue Aug 30, 2024 · 1 comment
Open

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

PeterP1975 opened this issue Aug 30, 2024 · 1 comment

Comments

@PeterP1975
Copy link

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

@larskuerten
Copy link

There's an exemple in the readme file (https://github.com/evilC/TapHoldManager/tree/master), just create a function named KeyEvent or another name of you like.

With monitor.ahk you find the code of each key and the keyboard/numpad/mouse id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants