From: Hannes Winkler <hannes.winkler@st.ovgu.de> To: kbd@lists.altlinux.org Subject: [kbd] add keymap loading for event devices Date: Wed, 15 Jan 2020 10:14:29 +0100 Message-ID: <a43a5a6e-1c0e-d738-ed5b-0b72be9d7a99@st.ovgu.de> (raw) Good morning, there's currently no way to easily apply a keymap (given as a keymap file) to an event device. What do you think about adding such a feature to loadkeys? That'd also enable udev to easily apply the system keymap to hotplugged event devices. Keymaps are practically the only thing evdevs keep as global state (everything else on a per-fd basis), so you don't need to apply the keymap every time you open an evdev. It's sufficient to apply the keymap to the evdev once, when it's plugged in - loadkeys would be perfect for this. I'd be willing to contribute if you agree to add this feature to loadkeys. Best regards, Hannes Winkler
next reply other threads:[~2020-01-15 9:14 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-01-15 9:14 Hannes Winkler [this message] 2020-02-07 10:11 ` Alexey Gladkov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=a43a5a6e-1c0e-d738-ed5b-0b72be9d7a99@st.ovgu.de \ --to=hannes.winkler@st.ovgu.de \ --cc=kbd@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Linux console tools development discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/kbd/0 kbd/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 kbd kbd/ http://lore.altlinux.org/kbd \ kbd@lists.altlinux.org kbd@lists.altlinux.ru kbd@lists.altlinux.com public-inbox-index kbd Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.kbd AGPL code for this site: git clone https://public-inbox.org/public-inbox.git