Re: Can I limit the scope of an input device to specific processes ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,


On Wed, Jan 29, 2014 at 10:44 AM, Dr. Zimmermann
<R.Zimmermann@xxxxxxxxxxxxxxxxxx> wrote:
> Am 28.01.2014 13:49, schrieb David Herrmann:
>>
>> Hi
>>
> Hi David,
>
>> On Tue, Jan 28, 2014 at 1:27 PM, Dr. Zimmermann
>> <R.Zimmermann@xxxxxxxxxxxxxxxxxx> wrote:
>>
>> You can mark devices as floating via:
>> Section "InputClass"
>>      Identifier "Custom Input Blacklist"
>>      MatchProduct "<Product-Name-of-Your-Device>"
>>      MatchDevicePath "/dev/input/event*"
>>      Option "Floating" "on"
>> EndSection
>>
>> Also see "man xorg.conf" and search for "Floating".

An alternative to X config file is the xinput command line tool

$> xinput list
to get the name and id of your device
$>xinput float NAME_OR_ID
to "detach" the device from the virtual core keyboard
(the name will be stable while id can change after unplug or restart,
thus name is a better candidate for scripting)


Regards,
Fabien
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux