From: Alexey Gladkov <gladkov.alexey@gmail.com>
To: Hannes Winkler <hannes.winkler@st.ovgu.de>
Cc: kbd@lists.altlinux.org
Subject: Re: [kbd] add keymap loading for event devices
Date: Fri, 7 Feb 2020 11:11:45 +0100
Message-ID: <20200207101145.2ntnc6oopq7vrxom@comp-core-i7-2640m-0182e6> (raw)
In-Reply-To: <a43a5a6e-1c0e-d738-ed5b-0b72be9d7a99@st.ovgu.de>
On Wed, Jan 15, 2020 at 10:14:29AM +0100, Hannes Winkler wrote:
> Good morning,
>
> there's currently no way to easily apply a keymap (given as a keymap file)
> to an event device.
I'm not sure that I understand what kind of devices you are talking about.
Can you explain more ?
> 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.
Yes. If it will be useful.
> 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.
Patches are welcome :)
--
Rgrds, legion
prev parent reply other threads:[~2020-02-07 10:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-15 9:14 Hannes Winkler
2020-02-07 10:11 ` Alexey Gladkov [this message]
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=20200207101145.2ntnc6oopq7vrxom@comp-core-i7-2640m-0182e6 \
--to=gladkov.alexey@gmail.com \
--cc=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