linux/drivers/hid/wacom_wac.h

/* SPDX-License-Identifier: GPL-2.0-or-later */

#ifndef WACOM_WAC_H
#define WACOM_WAC_H

#include <linux/types.h>
#include <linux/hid.h>
#include <linux/kfifo.h>

/* maximum packet length for USB/BT devices */
#define WACOM_PKGLEN_MAX

#define WACOM_NAME_MAX
#define WACOM_MAX_REMOTES
#define WACOM_STATUS_UNKNOWN
#define WACOM_REMOTE_BATTERY_TIMEOUT
#define WACOM_AES_BATTERY_TIMEOUT

/* packet length for individual models */
#define WACOM_PKGLEN_BBFUN
#define WACOM_PKGLEN_TPC1FG
#define WACOM_PKGLEN_TPC1FG_B
#define WACOM_PKGLEN_TPC2FG
#define WACOM_PKGLEN_BBTOUCH
#define WACOM_PKGLEN_BBTOUCH3
#define WACOM_PKGLEN_BBPEN
#define WACOM_PKGLEN_WIRELESS
#define WACOM_PKGLEN_PENABLED
#define WACOM_PKGLEN_BPAD_TOUCH
#define WACOM_PKGLEN_BPAD_TOUCH_USB

/* wacom data size per MT contact */
#define WACOM_BYTES_PER_MT_PACKET
#define WACOM_BYTES_PER_24HDT_PACKET
#define WACOM_BYTES_PER_QHDTHID_PACKET

/* device IDs */
#define STYLUS_DEVICE_ID
#define TOUCH_DEVICE_ID
#define CURSOR_DEVICE_ID
#define ERASER_DEVICE_ID
#define PAD_DEVICE_ID

/* wacom data packet report IDs */
#define WACOM_REPORT_PENABLED
#define WACOM_REPORT_PENABLED_BT
#define WACOM_REPORT_INTUOS_ID1
#define WACOM_REPORT_INTUOS_ID2
#define WACOM_REPORT_INTUOSPAD
#define WACOM_REPORT_INTUOS5PAD
#define WACOM_REPORT_DTUSPAD
#define WACOM_REPORT_TPC1FG
#define WACOM_REPORT_TPC2FG
#define WACOM_REPORT_TPCMT
#define WACOM_REPORT_TPCMT2
#define WACOM_REPORT_TPCHID
#define WACOM_REPORT_CINTIQ
#define WACOM_REPORT_CINTIQPAD
#define WACOM_REPORT_TPCST
#define WACOM_REPORT_DTUS
#define WACOM_REPORT_TPC1FGE
#define WACOM_REPORT_24HDT
#define WACOM_REPORT_WL
#define WACOM_REPORT_USB
#define WACOM_REPORT_BPAD_PEN
#define WACOM_REPORT_BPAD_TOUCH
#define WACOM_REPORT_DEVICE_LIST
#define WACOM_REPORT_INTUOS_PEN
#define WACOM_REPORT_REMOTE
#define WACOM_REPORT_INTUOSHT2_ID

/* wacom command report ids */
#define WAC_CMD_WL_LED_CONTROL
#define WAC_CMD_LED_CONTROL
#define WAC_CMD_ICON_START
#define WAC_CMD_ICON_XFER
#define WAC_CMD_ICON_BT_XFER
#define WAC_CMD_DELETE_PAIRING
#define WAC_CMD_LED_CONTROL_GENERIC
#define WAC_CMD_UNPAIR_ALL
#define WAC_CMD_WL_INTUOSP2

/* device quirks */
#define WACOM_QUIRK_BBTOUCH_LOWRES
#define WACOM_QUIRK_SENSE
#define WACOM_QUIRK_AESPEN
#define WACOM_QUIRK_BATTERY
#define WACOM_QUIRK_TOOLSERIAL
#define WACOM_QUIRK_PEN_BUTTON3

/* device types */
#define WACOM_DEVICETYPE_NONE
#define WACOM_DEVICETYPE_PEN
#define WACOM_DEVICETYPE_TOUCH
#define WACOM_DEVICETYPE_PAD
#define WACOM_DEVICETYPE_WL_MONITOR
#define WACOM_DEVICETYPE_DIRECT

#define WACOM_POWER_SUPPLY_STATUS_AUTO

#define WACOM_HID_UP_WACOMDIGITIZER
#define WACOM_HID_SP_PAD
#define WACOM_HID_SP_BUTTON
#define WACOM_HID_SP_DIGITIZER
#define WACOM_HID_SP_DIGITIZERINFO
#define WACOM_HID_WD_DIGITIZER
#define WACOM_HID_WD_PEN
#define WACOM_HID_WD_SENSE
#define WACOM_HID_WD_DIGITIZERFNKEYS
#define WACOM_HID_WD_SERIALNUMBER
#define WACOM_HID_WD_SERIALHI
#define WACOM_HID_WD_BARRELSWITCH3
#define WACOM_HID_WD_TOOLTYPE
#define WACOM_HID_WD_DISTANCE
#define WACOM_HID_WD_TOUCHSTRIP
#define WACOM_HID_WD_TOUCHSTRIP2
#define WACOM_HID_WD_TOUCHRING
#define WACOM_HID_WD_TOUCHRINGSTATUS
#define WACOM_HID_WD_REPORT_VALID
#define WACOM_HID_WD_SEQUENCENUMBER
#define WACOM_HID_WD_ACCELEROMETER_X
#define WACOM_HID_WD_ACCELEROMETER_Y
#define WACOM_HID_WD_ACCELEROMETER_Z
#define WACOM_HID_WD_BATTERY_CHARGING
#define WACOM_HID_WD_TOUCHONOFF
#define WACOM_HID_WD_BATTERY_LEVEL
#define WACOM_HID_WD_EXPRESSKEY00
#define WACOM_HID_WD_EXPRESSKEYCAP00
#define WACOM_HID_WD_MODE_CHANGE
#define WACOM_HID_WD_MUTE_DEVICE
#define WACOM_HID_WD_CONTROLPANEL
#define WACOM_HID_WD_ONSCREEN_KEYBOARD
#define WACOM_HID_WD_BUTTONCONFIG
#define WACOM_HID_WD_BUTTONHOME
#define WACOM_HID_WD_BUTTONUP
#define WACOM_HID_WD_BUTTONDOWN
#define WACOM_HID_WD_BUTTONLEFT
#define WACOM_HID_WD_BUTTONRIGHT
#define WACOM_HID_WD_BUTTONCENTER
#define WACOM_HID_WD_FINGERWHEEL
#define WACOM_HID_WD_OFFSETLEFT
#define WACOM_HID_WD_OFFSETTOP
#define WACOM_HID_WD_OFFSETRIGHT
#define WACOM_HID_WD_OFFSETBOTTOM
#define WACOM_HID_WD_DATAMODE
#define WACOM_HID_WD_DIGITIZERINFO
#define WACOM_HID_WD_TOUCH_RING_SETTING
#define WACOM_HID_UP_G9
#define WACOM_HID_G9_PEN
#define WACOM_HID_G9_TOUCHSCREEN
#define WACOM_HID_UP_G11
#define WACOM_HID_G11_PEN
#define WACOM_HID_G11_TOUCHSCREEN
#define WACOM_HID_UP_WACOMTOUCH
#define WACOM_HID_WT_TOUCHSCREEN
#define WACOM_HID_WT_TOUCHPAD
#define WACOM_HID_WT_CONTACTMAX
#define WACOM_HID_WT_SERIALNUMBER
#define WACOM_HID_WT_X
#define WACOM_HID_WT_Y
#define WACOM_HID_WT_REPORT_VALID

#define WACOM_BATTERY_USAGE(f)

#define WACOM_PAD_FIELD(f)

#define WACOM_PEN_FIELD(f)
#define WACOM_FINGER_FIELD(f)

#define WACOM_DIRECT_DEVICE(f)

enum {};

struct wacom_features {};

struct wacom_shared {};

struct hid_data {};

struct wacom_remote_work_data {};

struct wacom_wac {};

#endif