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

How to block AHK's keystrokes from main keyboard? #159

Open
Vaarelsauce opened this issue Feb 10, 2022 · 1 comment
Open

How to block AHK's keystrokes from main keyboard? #159

Vaarelsauce opened this issue Feb 10, 2022 · 1 comment

Comments

@Vaarelsauce
Copy link

Vaarelsauce commented Feb 10, 2022

I'm using LUAMacros to configure two keyboards, for a couch party (fighting) game session.

The 1st keyboard possesses most of its functions. The 2nd keyboard is suppressed by a LUA script (it's the SECOND_KEYBOARD_script_for_LUA_MACROS.lua), and essentially I'm binding the 2nd keyboard's WASD + whatever other buttons as the 1-10 number buttons. It's a weird approach, but I'm not very good at coding so I don't know how else to do it.

The problem is that, after launching the AHK script (that coverts 2nd keyboard's certain keystrokes into numbers), those keystroke bindings also affects my 1st keyboard as well. So pressing the WASD from 2nd keyboard converts into "1234", but also pressing WASD on my 1st keyboard also results in "1234" as well.

Is there any way to fix this (e.g. telling AHK to ignore my 1st keyboard inputs, or binding the 2nd keyboard to F13-F24), or rework my whole coding approach with a simpler solution to get multi-keyboarding on one PC to work?

@BacKinnn
Copy link

BacKinnn commented Aug 1, 2023

Sorry for not getting any response. I'm also getting this error, but I'm using Corsair K63 as a macro keyboard, separate from the main keyboard. Did you figure out how to solve this issue?

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