On 12/10/15 15:49, Etienne wrote:
[...] in X. setxkbmap(1) needs a device id as an argument, and I'm
supposed to find that id in the output of "xinput list", but that
output never changes, with the Yubikey plugged in or out. It
permanently shows:
% xinput list
⎡ Virtual core pointer id=2 [master
pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave
pointer (2)]
⎜ ↳ /dev/wsmouse0 id=7 [slave
pointer (2)]
⎜ ↳ /dev/wsmouse id=8 [slave
pointer (2)]
⎣ Virtual core keyboard id=3 [master
keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave
keyboard (3)]
↳ /dev/wskbd id=6 [slave
keyboard (3)]
I have given up on this issue for a while, I'm back at it now. In man
xorg.conf, in the InputDevice section, I read:
Option "Floating" "boolean"
When enabled, the input device is set up floating and
does not
report events through any master device or control a
cursor. The
device is only available to clients using the X Input
Extension
API. This option is disabled by default. The options
CorePointer, CoreKeyboard, AlwaysCore, and
SendCoreEvents, are
the inverse of option Floating (i.e. SendCoreEvents "on" is
equivalent to Floating "off" ).
Does that mean that if a device has this option on, an additional entry
will be visible in the output of xinput (as a command)?
Cheers,
--
Étienne