Я использую свой Wacom Intuos Pro. И это работает очень хорошо. Я пытаюсь использовать работу кнопок клавиатуры как левые и правые кнопки мыши. Но я не могу. Кто-либо может помочь мне?
У меня есть другой планшет, но я использую этот сценарий:
#!/bin/bash
#
# the darn thing change names if is on wireless or not...
#
device=$(xsetwacom --list | grep -i "pad" | awk '{print $(NF-2)}')
xsetwacom --set "$device" button 1 "key ctrl z"
xsetwacom --set "$device" button 3 "key shift ctrl s"
xsetwacom --set "$device" button 8 "key shift ctrl l"
echo "Ok --- all set on device $device."
exit 0
будет требоваться немного, пытаются ошибка найти кнопки; то, что я делаю, обычно использовать сценарий, присваивающий букву каждому ключу нажатие в терминале для проверки, как
xsetwacom --set "$device" button 1 "key 1"
xsetwacom --set "$device" button 2 "key 2"
... и так далее.
в руководстве xsetwacom
говорится:
Button button-number [mapping] Set a mapping for the specified button-number. Mappings take the form of either a single numeric button or an 'action' to be per‐ formed. If no mapping is provided, the default mapping is restored. Numeric button mappings indicate what X11 button number the given button-number should correspond to. For example, a mapping of "3" means a press of the given button-number will produce as a press of X11 button 3 (i.e. right click).
так для определения кнопок 1 и 2 (пример внезапно) к левой и правой кнопке мыши необходимо сделать:
xsetwacom --set "$device" button 1 1
xsetwacom --set "$device" button 2 3
(не протестированный, у меня есть свой планшет в офисе).