wacom intuos отключают выбор курсора, когда перо вступает в контакт с планшетом (CTH480)

Таким образом, я бездельничал с xsetwacom с моим wacom, и я хотел бы коснуться пера к планшету без него, думая, что я хочу удерживаемую "левую кнопку мыши". Причина этого перемещается, перо без выбора означает нависать над планшетом, который может быть неточным. Я хочу использовать первую кнопку на пере, чтобы быть левой кнопкой мыши. У меня есть длинный список параметров для xsetwacom, но я не уверен в том, как использовать перо для навигации по планшету, не выбирая (при касании)

xsetwacom --list parameters

Area             - Valid tablet area in device coordinates.
Button           - X11 event to which the given button should be mapped. 
ToolDebugLevel   - Level of debugging trace for individual tools (default is 0 [off]). 
TabletDebugLevel - Level of debugging statements applied to shared code paths between all tools associated with the same tablet (default is 0 [off]). 
Suppress         - Number of points trimmed (default is 2). 
RawSample        - Number of raw data used to filter the points (default is 4). 
PressureCurve    - Bezier curve for pressure (default is 0 0 100 100 [linear]). 
Mode             - Switches cursor movement mode (default is absolute). 
TabletPCButton   - Turns on/off Tablet PC buttons (default is off for regular tablets, on for Tablet PC). 
Touch            - Turns on/off Touch events (default is on). 
HWTouchSwitchState - Touch events turned on/off by hardware switch. 
Gesture          - Turns on/off multi-touch gesture events (default is on). 
ZoomDistance     - Minimum distance for a zoom gesture (default is 50). 
ScrollDistance   - Minimum motion before sending a scroll gesture (default is 20). 
TapTime          - Minimum time between taps for a right click (default is 250). 
CursorProximity  - Sets cursor distance for proximity-out in distance from the tablet (default is 10 for Intuos series, 42 for Graphire series). 
Rotate           - Sets the rotation of the tablet. Values = none, cw, ccw, half (default is none). 
RelWheelUp       - X11 event to which relative wheel up should be mapped. 
RelWheelDown     - X11 event to which relative wheel down should be mapped. 
AbsWheelUp       - X11 event to which absolute wheel up should be mapped. 
AbsWheelDown     - X11 event to which absolute wheel down should be mapped. 
AbsWheel2Up      - X11 event to which absolute wheel up should be mapped. 
AbsWheel2Down    - X11 event to which absolute wheel down should be mapped. 
StripLeftUp      - X11 event to which left strip up should be mapped. 
StripLeftDown    - X11 event to which left strip down should be mapped. 
StripRightUp     - X11 event to which right strip up should be mapped. 
StripRightDown   - X11 event to which right strip down should be mapped. 
Threshold        - Sets tip/eraser pressure threshold (default is 27). 
ResetArea        - Resets the bounding coordinates to default in tablet units. 
ToolType         - Returns the tool type of the associated device. 
ToolSerial       - Returns the serial number of the current device in proximity.
ToolID           - Returns the tool ID of the current tool in proximity.
ToolSerialPrevious - Returns the serial number of the previous device in proximity.
BindToSerial     - Binds this device to the serial number.
TabletID         - Returns the tablet ID of the associated device. 
PressureRecalibration - Turns on/off Tablet pressure recalibration
MapToOutput      - Map the device to the given output. 
all              - Get value for all parameters. 
3
задан 23 March 2015 в 23:33

1 ответ

Необходимо изменить настройки кнопок стилуса. Использовать xsetwacom list найти название Вашего стилуса, в моем выводе случая команды:

Wacom Intuos S Pad pad              id: 15  type: PAD       
Wacom Intuos S Pen stylus           id: 16  type: STYLUS    
Wacom Intuos S Pen eraser           id: 17  type: ERASER    
Wacom Intuos S Pen cursor           id: 18  type: CURSOR

Стилус является "Перьевым стилусом Wacom Intuos S".

DEVICE_STYLUS='Wacom Intuos S Pen stylus'
xsetwacom set "$DEVICE_STYLUS" Button 1 "button +0" # nothing on touch
xsetwacom set "$DEVICE_STYLUS" Button 2 "button +1" # left click on lower button
xsetwacom set "$DEVICE_STYLUS" Button 3 "button +3" # right click on upper button

Вот именно Кнопка 1 стилуса затрагивает клавиатуры, не реальной кнопки. Сценарий выше отключает это действие. Более низкой кнопкой является Кнопка 2, присвойте щелчок левой кнопкой ей. Верхней кнопкой является Кнопка 3, можно хотеть присвоить щелчок правой кнопкой ей или что-то еще. Если у Вас есть больше кнопок, можно присвоить дополнительные действия им. Обратите внимание, что кнопки клавиатуры принадлежат устройству клавиатуры, не стилусу.

Настройки xsetwacom не сохраняются после системной перезагрузки, таким образом, можно хотеть писать мелко сценарий и выполнить его вручную или автоматически после начальной загрузки. Повторное соединение клавиатуры также сбрасывает настройки к их значениям по умолчанию, можно играть вокруг и затем сбросить. Можно проверить все текущие настройки каждого устройства как это:

xsetwacom -s get "$DEVICE_STYLUS" all

Может быть очень полезно проверить, какие опции могут быть изменены для конкретного устройства. Обратите внимание, что некоторые опции не могут работать на Вашу модель.

0
ответ дан 1 December 2019 в 23:14

Другие вопросы по тегам:

Похожие вопросы: