LiveSplit / LiveSplit/livesplit-core

Add a way to detect key release in livesplit-hotkey

Open
#633 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature hotkey needs further discussion
Dominant language
Rust
Stars
227
Forks
81
Avg merge
22h 45m
Merged PRs (30d)
3

Description

Currently is only possible to detect keys pressed, but not the release event.

Had a look at the linux implementations and should be simple (didn't check mac/win/wasm), but I don't think that there's a way to make this backwards compatible other than creating another register/unregister methods.

Would you consider something like this? what would be a good api? new methods? an argument in the callback with some enum with KeyDown/KeyUp? another optional callback for the release?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Linux implementations in livesplit-hotkey and then compare how key events are handled on macOS, Windows, and WASM. Clarify the backward-compatible API before implementing release detection across the supported platforms; done means consumers can reliably distinguish key presses from releases.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.