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

Keyboard doesn't work with Baldur's Gate 3 #75

Open
jpnarkinsky opened this issue Aug 9, 2024 · 4 comments
Open

Keyboard doesn't work with Baldur's Gate 3 #75

jpnarkinsky opened this issue Aug 9, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@jpnarkinsky
Copy link

Describe the Bug/Issue

When running Baldur's Gate 3 (windows 11, full screen, directx) the keyboard doesn't work in the game.

@ragauskl ragauskl added the bug Something isn't working label Aug 9, 2024
@ragauskl
Copy link
Contributor

This is a second report with keyboard not working in game, I may take a look into this sometime soon, but can't promise a quick fix and my schedule is filled with other priority tasks for this month. In any case I'll provide an update when I've tested this.

@ragauskl
Copy link
Contributor

While I find time to test this - I assume Baldur's Gate is running as an admin? It could be permissions thing as Cursr is not running as admin, so if Baldur's Gate is running as admin you could try to run Cursr as admin as well, but I'm looking for a better solution/partial need for admin so it's not on the whole process. However if Baldur's Gate is not running as admin it may be some other issue.

@ragauskl
Copy link
Contributor

Just realized it also can be due to games anti-cheat systems that they don't allow simulated key events to control the game. I don't know much about how they work, but could play a part in this issue. As with games I tested keyboard works in chat but not in the gameplay itself. So Cursr is working as usual, just the game is not registering or on purpose ignoring certain key presses.

It's also worth keeping in mind (I'll be adding a warning later somewhere in-app) that using software KVM for gaming can earn you a ban in the game as keyboard and mouse events are simulated on client device. This is theoretical, I haven't heard of such case but still a possibility and something to keep in mind. If you're using KVM while gaming as well - a physical KVM may be a safer bet.

@ragauskl
Copy link
Contributor

@jpnarkinsky okay ignore the anti-cheat thing (except do still keep in mind playing over KVM, especially in case it's multiplayer, could in theory earn you a ban if they count simulated keys/mouse as cheating)

Set the 'Keyboard Layout' in 'Virtual Switch' settings to 'Current', that will emit scancodes inseatd of virtual keys like source does in order to allow using keyboard layout of host device. Games listen to scancodes for gameplay control. Let me know if that solves it and I'll add this in-app and in FAQ for others

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants