Skip to content

Hotkeys not recognized in some scenarios #1025

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

Open
Yanis002 opened this issue Mar 16, 2025 · 3 comments
Open

Hotkeys not recognized in some scenarios #1025

Yanis002 opened this issue Mar 16, 2025 · 3 comments

Comments

@Yanis002
Copy link

Yanis002 commented Mar 16, 2025

it seems LiveSplitOne doesn't detect inputs sent by a 3rd party program, I tried to use Toufool's AutoSpliter on Linux (Ubuntu 24.10 with KDE X11) with this and when it's supposed to split LiveSplit doesn't split. Note that the autosplit program sends inputs properly (though I don't know how they're doing that), as a test I set my split key to the letter/key "A" and it typed it in a textbox, hence why I'm reporting this here as it seems to be related to this project specifically, also not sure if it works (or not) on the other operating systems

Edit: I forgot to mention it but I'm using the desktop version, that said I also tried on the website and same behavior (with the page focused/active)

@Yanis002 Yanis002 changed the title Hotkeys not recognized in some scenerios Hotkeys not recognized in some scenarios Mar 16, 2025
@Yanis002
Copy link
Author

Yanis002 commented Mar 27, 2025

I did some tests out of curiosity:

  • first I tried using a virtual keyboard (I used onboard), it doesn't work apparently
  • then I decided to try on Windows and it works well with both methods (with the desktop version at least)

so basically it seems to be a Linux-only issue (and probably affecting any virtual keyboards)

Avasam added a commit to Toufool/AutoSplit that referenced this issue Mar 27, 2025
@Yanis002
Copy link
Author

Yanis002 commented Apr 4, 2025

I did more tests today (this time after cloning and building the repo), it seems it only happens in the "run" view (so like, the window you have when you are doing a run) specifically on linux on the desktop version, it worked on the web version apparently (I think the last time I assumed it was using the system's keyboard layout but it assumes qwerty for everything)

I tried to figured out where exactly but idk I'm getting lost, though it seems the only difference is the livesplit-hotkey crate? I noticed a comment about it being stubbed when compiled but idk I don't understand everything, I hope the core issue isn't located in tauri

so basically the autosplitter I mentioned (and onboard) works on the web version, also another oddity I just noticed: on the web version my A button (french keyboard layout) is mapped to Q when I set the hotkey, but on the desktop version it's mapped to A, which is weird

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