From: Alexey Gladkov <legion@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] looking for xkbcommon experts
Date: Thu, 30 Dec 2021 01:12:39 +0100
Message-ID: <20211230001239.h4wpxq2r7yvk2jny@example.org> (raw)
In-Reply-To: <20211230000744.GB1641@imap.altlinux.org>
On Thu, Dec 30, 2021 at 03:07:44AM +0300, Vladislav Zavjalov wrote:
> On Thu, Dec 30, 2021 at 02:52:04AM +0300, Vladislav Zavjalov wrote:
> > On Wed, Dec 29, 2021 at 05:18:09PM +0100, Alexey Gladkov wrote:
> > > Я могу сделать дамп (см. аттач), но я не могу понять как получить какой
> > > модификатор используется для переключения layout. Переключатель есть
> > > только в options и там много чего ещё есть. Более того, как-то странно
> > > парсить руками эти опции.
> > >
> > > Возможно я слаб в этой библиотеке и не нашёл как получить
> > > XKB_KEY_Control_L для указанной конфигруации. Поэтому и решил спросить
> > > тут.
> >
> > Мне кажется, что надо искать все кнопки, в которых присутствует работа с
> > группами: ISO_Next_Group, ISO_Prev_Group (и всякие LockGroup, LatchGroup
> > с которыми я никогда не имел дела).
> >
> > При этом приложенная программа явно не показывает всей картины:
> > $ ./xkbcommon-dump-test | grep Group
> > keycode 29 = | {English (US)} (Plain) ISO_Next_Group,
>
> А я начал внимательнее читать код и понял, что это дамп
> конфигурации с grp:lctrl_toggle
> Тогда вот она evdev_keycode = 37, XKB_KEY_Control_L
Да, это дамп не текущей конфигурации, а заданной. По сути это эмуляция
входных параметров будущей реализации.
--
Rgrds, legion
next prev parent reply other threads:[~2021-12-30 0:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-29 14:03 Alexey Gladkov
2021-12-29 16:18 ` Alexey Gladkov
2021-12-29 23:52 ` Vladislav Zavjalov
2021-12-30 0:07 ` Vladislav Zavjalov
2021-12-30 0:12 ` Alexey Gladkov [this message]
2021-12-30 0:28 ` Alexey Gladkov
2021-12-30 10:25 ` Vladislav Zavjalov
2021-12-30 11:43 ` Alexey Gladkov
2021-12-30 13:25 ` Vladislav Zavjalov
2022-02-12 23:06 ` Alexey Gladkov
2021-12-29 23:16 ` Leonid Krivoshein
2021-12-29 23:31 ` 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=20211230001239.h4wpxq2r7yvk2jny@example.org \
--to=legion@altlinux.ru \
--cc=devel@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
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git