Skip to content

Implement comparison cycling and key deduplication#4

Open
alexankitty wants to merge 4 commits intodescawed:masterfrom
alexankitty:master
Open

Implement comparison cycling and key deduplication#4
alexankitty wants to merge 4 commits intodescawed:masterfrom
alexankitty:master

Conversation

@alexankitty
Copy link

@alexankitty alexankitty commented Sep 13, 2025

I'm horrible with rust, just to make that clear.

Anyway, this request aims to add previous/next comparison cycling.
It will read the config file for the last used comparison, and set the start index to there.
It will wrap around either direction, and it will only use the comparisons that are currently enabled.

Caveats:
If the comparison is changed directly in livesplit, it will temporarily desync the cycle until the next change happens in live-split-hotkeys
If the enabled comparisons are changed, they are only written to disk once livesplit is closed, so livesplit and live-split-hotkeys will need to be re-opened.

Bonus:
Also uses a hashset to prevent duplicated keys from being handled. should fix #2

@alexankitty alexankitty changed the title Implement comparison cycling Implement comparison cycling and key deduplication Sep 13, 2025
@lightwork-speedrunning
Copy link

Bump! Real good work. Made my own repo with your fix

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

Successfully merging this pull request may close these issues.

[BUG] It presses the same key twice

2 participants

Comments