a way to determine keyboard device
- Dominant language
- C++
- Stars
- 834
- Forks
- 254
- PR merge metrics
- No merged PRs in 30d
Description
```
I packaged logkeys for debian. The postinst script reads the keyboard device:
device="`basename $(readlink /dev/input/by-path/*kbd)`"
This is for sure very crappy , but it works for me on various computers :-)
```
Original issue reported on code.google.com by `gpcarr...@gmail.com` on 12 Mar 2014 at 8:07
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue identifies a Debian postinst script and its /dev/input/by-path/*kbd readlink/basename command; start by locating that script and checking how keyboard devices are exposed on supported Linux systems. Define a reliable device-selection behavior and verify it on the varied computers mentioned, with the postinst resolving the intended keyboard device.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, shell
- Domain
- operating-systems, release
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100