kernc / kernc/logkeys

Distinguishing KEYDOWN and KEYUP

Open
#211 0 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
834
Forks
254
PR merge metrics
No merged PRs in 30d

Description

The log file output has no distinction between holding keys and tapping keys. Ex:
Holding super and pressing 123: `123`
Tapping super and pressing 123: `123`

This results in a lot of ambiguous results where I'm not sure when a key is no longer being held down.

It would be nice if the logger had output like:
`123`
and
`r`

Most of the loggers I've looked into don't do this. So, I'm not really sure what to do.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the logger's keyboard-event handling to determine whether key press and release events are available separately. Confirm how the existing output is assembled, then verify that held and tapped keys produce distinct DOWN and UP markers as described in issue #211.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.