kernc / kernc/logkeys

Half automatic keymap generation [enhancement] [feature-request]

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

Description

Creating new keymappings is sometimes a slow and painful process.
If would be nice if the program allowed for simplifying this process.
This could be done interactively, for example:
0. User run program in "help me create keymappings" mode
1. Programs opens specific /dev input device, let's now just assume that's this is the correct one - keyboard.
2. Program asks to press some specific keys one after another (with Shift and AltGr if applicable), at the same time registering /dev input. This could be done with messages:
- now press F1
- ...
- now press LShift+1
- ...
- now press a key on the right of your LShift
3. After enough input gets collected to determine the right keyboard (maybe there are some databases online that can help with limiting number of checks required?), correct keymappings could be generated.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by reviewing the existing keymapping and /dev input handling, then define the interactive prompts and keyboard-identification criteria; done means the program can collect the requested key presses and generate correct mappings.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
operating-systems, security
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.