Crate wacom_sys [] [src]

Structs

_G_fpos64_t
_G_fpos_t
_IO_FILE
_IO_FILE_plus
_IO_jump_t
_IO_marker
_WacomDevice
_WacomDeviceDatabase
_WacomError
_WacomMatch
_WacomStylus
__BindgenUnionField
__fsid_t
__mbstate_t
__mbstate_t__bindgen_ty_1
__va_list_tag

Enums

WacomAxisTypeFlags

Axis type for a stylus. Note that x/y is implied.

WacomBusType

Bus types for tablets.

WacomButtonFlags

Capabilities of the various tablet buttons

WacomClass

Classes of devices.

WacomCompareFlags
WacomErrorCode

Possible error codes.

WacomFallbackFlags
WacomIntegrationFlags

Tablet integration.

WacomStatusLEDs
WacomStylusType

Class of stylus

__codecvt_result

Constants

BUFSIZ
EOF
FILENAME_MAX
FOPEN_MAX
INT16_MAX
INT16_MIN
INT32_MAX
INT32_MIN
INT8_MAX
INT8_MIN
INTPTR_MAX
INTPTR_MIN
INT_FAST16_MAX
INT_FAST16_MIN
INT_FAST32_MAX
INT_FAST32_MIN
INT_FAST8_MAX
INT_FAST8_MIN
INT_LEAST16_MAX
INT_LEAST16_MIN
INT_LEAST32_MAX
INT_LEAST32_MIN
INT_LEAST8_MAX
INT_LEAST8_MIN
L_ctermid
L_tmpnam
PTRDIFF_MAX
PTRDIFF_MIN
P_tmpdir
SEEK_CUR
SEEK_END
SEEK_SET
SIG_ATOMIC_MAX
SIG_ATOMIC_MIN
SIZE_MAX
TMP_MAX
UINT16_MAX
UINT32_MAX
UINT8_MAX
UINTPTR_MAX
UINT_FAST16_MAX
UINT_FAST32_MAX
UINT_FAST8_MAX
UINT_LEAST16_MAX
UINT_LEAST32_MAX
UINT_LEAST8_MAX
WACOM_ERASER_FALLBACK_ID
WACOM_STYLUS_FALLBACK_ID
WINT_MAX
WINT_MIN
_ATFILE_SOURCE
_BITS_TYPESIZES_H
_BITS_TYPES_H
_BITS_WCHAR_H
_DEFAULT_SOURCE
_FEATURES_H
_G_BUFSIZ
_G_HAVE_MMAP
_G_HAVE_MREMAP
_G_IO_IO_FILE_VERSION
_G_config_h
_IOFBF
_IOLBF
_IONBF
_IOS_APPEND
_IOS_ATEND
_IOS_BIN
_IOS_INPUT
_IOS_NOCREATE
_IOS_NOREPLACE
_IOS_OUTPUT
_IOS_TRUNC
_IO_BAD_SEEN
_IO_BOOLALPHA
_IO_BUFSIZ
_IO_CURRENTLY_PUTTING
_IO_DEC
_IO_DELETE_DONT_CLOSE
_IO_DONT_CLOSE
_IO_EOF_SEEN
_IO_ERR_SEEN
_IO_FIXED
_IO_FLAGS2_MMAP
_IO_FLAGS2_NOTCANCEL
_IO_FLAGS2_USER_WBUF
_IO_HEX
_IO_INTERNAL
_IO_IN_BACKUP
_IO_IS_APPENDING
_IO_IS_FILEBUF
_IO_LEFT
_IO_LINE_BUF
_IO_LINKED
_IO_MAGIC
_IO_MAGIC_MASK
_IO_NO_READS
_IO_NO_WRITES
_IO_OCT
_IO_RIGHT
_IO_SCIENTIFIC
_IO_SHOWBASE
_IO_SHOWPOINT
_IO_SHOWPOS
_IO_SKIPWS
_IO_STDIO
_IO_TIED_PUT_GET
_IO_UNBUFFERED
_IO_UNIFIED_JUMPTABLES
_IO_UNITBUF
_IO_UPPERCASE
_IO_USER_BUF
_IO_USER_LOCK
_OLD_STDIO_MAGIC
_POSIX_C_SOURCE
_POSIX_SOURCE
_STDC_PREDEF_H
_STDINT_H
_STDIO_H
_SYS_CDEFS_H
__FD_SETSIZE
__FILE_defined
__GLIBC_MINOR__
__GLIBC__
__GNUC_VA_LIST
__GNU_LIBRARY__
__INO_T_MATCHES_INO64_T
__OFF_T_MATCHES_OFF64_T
__STDC_IEC_559_COMPLEX__
__STDC_IEC_559__
__STDC_ISO_10646__
__STDC_NO_THREADS__
__SYSCALL_WORDSIZE
__USE_ATFILE
__USE_FORTIFY_LEVEL
__USE_ISOC11
__USE_ISOC95
__USE_ISOC99
__USE_MISC
__USE_POSIX
__USE_POSIX2
__USE_POSIX199309
__USE_POSIX199506
__USE_POSIX_IMPLICITLY
__USE_XOPEN2K
__USE_XOPEN2K8
__WORDSIZE
__WORDSIZE_TIME64_COMPAT32
____FILE_defined
____mbstate_t_defined

Statics

_IO_2_1_stderr_
_IO_2_1_stdin_
_IO_2_1_stdout_
stderr
stdin
stdout
sys_errlist
sys_nerr

Functions

_IO_feof
_IO_ferror
_IO_flockfile
_IO_free_backup_area
_IO_ftrylockfile
_IO_funlockfile
_IO_getc
_IO_padn
_IO_peekc_locked
_IO_putc
_IO_seekoff
_IO_seekpos
_IO_sgetn
_IO_vfprintf
_IO_vfscanf
__getdelim
__overflow
__uflow
__underflow
clearerr
clearerr_unlocked
ctermid
dprintf
fclose
fdopen
feof
feof_unlocked
ferror
ferror_unlocked
fflush
fflush_unlocked
fgetc
fgetc_unlocked
fgetpos
fgets
fileno
fileno_unlocked
flockfile
fmemopen
fopen
fprintf
fputc
fputc_unlocked
fputs
fread
fread_unlocked
freopen
fscanf
fscanf1
fseek
fseeko
fsetpos
ftell
ftello
ftrylockfile
funlockfile
fwrite
fwrite_unlocked
getc
getc_unlocked
getchar
getchar_unlocked
getdelim
getline
getw
libwacom_compare

Compare the two devices for equal-ness.

libwacom_database_destroy

Free all memory used by the database.

libwacom_database_new

Loads the Tablet and Stylus databases, to be used in libwacom_new_*() functions.

libwacom_database_new_for_path

Loads the Tablet and Stylus databases, to be used in libwacom_new_*() functions, from the prefix path passes. This is only useful for diagnostics applications.

libwacom_destroy

Remove the device and free all memory and references to it.

libwacom_error_free

Free the error and associated memory. Resets error to NULL.

libwacom_error_get_code

@return The code for this error.

libwacom_error_get_message

@return A human-readable message for this error

libwacom_error_new

Allocate a new structure for error reporting.

libwacom_get_bustype

@param device The tablet to query @return The bustype of this device.

libwacom_get_button_flag

@param device The tablet to query @param button The ID of the button to check for, between 'A' and 'Z' @return a WacomButtonFlags with information about the button

libwacom_get_button_led_group

@param device The tablet to query @param button The ID of the button to check for, between 'A' and 'Z' @return the status LED group id to use or -1 if no LED is available for the given tablet / button

libwacom_get_class

@param device The tablet to query @return The class of the device

libwacom_get_height

Retrieve the height of the device. This is the height of the usable area as advertised, not the total size of the physical tablet. For e.g. an Intuos4 6x9 this will return 6.

libwacom_get_integration_flags

@param device The tablet to query @return the integration flags for the device

libwacom_get_layout_filename

@param device The tablet to query @return The full filename including path to the SVG layout of the device if available, or NULL otherwise

libwacom_get_match

@param device The tablet to query @return The current match string used for this device (if set) or the first match string in the tablet definition.

libwacom_get_matches

@param device The tablet to query @return A pointer to the null-terminated list of possible matches for this device. Do not modify this pointer or any content!

libwacom_get_name

@param device The tablet to query @return The human-readable name for this device

libwacom_get_num_buttons

Tablet buttons are numbered 'A' through to 'A' + number of buttons.

libwacom_get_num_strips

@param device The tablet to query @return the number of touch strips on the tablet otherwise

libwacom_get_product_id

@param device The tablet to query @return The numeric product ID for this device

libwacom_get_ring2_num_modes

@param device The tablet to query @return the number of modes for the second touchring if it has a mode switch

libwacom_get_ring_num_modes

@param device The tablet to query @return the number of modes for the touchring if it has a mode switch

libwacom_get_status_leds

@param device The tablet to query @param num_leds Return location for the number of supported status LEDs @return an array of status LEDs supported by the device

libwacom_get_strips_num_modes

@param device The tablet to query @return the number of modes for each of the touchstrips if any

libwacom_get_supported_styli

@param device The tablet to query @param num_styli Return location for the number of listed styli @return an array of Styli IDs supported by the device

libwacom_get_vendor_id

@param device The tablet to query @return The numeric vendor ID for this device

libwacom_get_width

Retrieve the width of the device. This is the width of the usable area as advertised, not the total size of the physical tablet. For e.g. an Intuos4 6x9 this will return 9.

libwacom_has_ring

@param device The tablet to query @return non-zero if the device has a touch ring or zero otherwise

libwacom_has_ring2

@param device The tablet to query @return non-zero if the device has a second touch ring or zero otherwise

libwacom_has_stylus

@param device The tablet to query @return non-zero if the device supports styli or zero otherwise

libwacom_has_touch

@param device The tablet to query @return non-zero if the device supports touch or zero otherwise

libwacom_has_touchswitch

@param device The tablet to query @return non-zero if the device has a touch switch or zero otherwise

libwacom_is_builtin

@param device The tablet to query @return non-zero if the device is built into the screen (ie a screen tablet) or zero if the device is an external tablet @deprecated 0.7 Use libwacom_get_integration_flags() instead.

libwacom_is_reversible

@param device The tablet to query @return non-zero if the device can be used left-handed (rotated 180 degrees)

libwacom_list_devices_from_database

Returns the list of devices in the given database.

libwacom_match_get_bustype
libwacom_match_get_match_string
libwacom_match_get_name
libwacom_match_get_product_id
libwacom_match_get_vendor_id
libwacom_new_from_name

Create a new device reference from the given name. In case of error, NULL is returned and the error is set to the appropriate value.

libwacom_new_from_path

Create a new device reference from the given device path. In case of error, NULL is returned and the error is set to the appropriate value.

libwacom_new_from_usbid

Create a new device reference from the given vendor/product IDs. In case of error, NULL is returned and the error is set to the appropriate value.

libwacom_print_device_description

Print the description of this device to the given file.

libwacom_print_stylus_description

Print the description of this stylus to the given file.

libwacom_stylus_get_axes

@param stylus The stylus to query @return The flags specifying the list of absolute axes

libwacom_stylus_get_for_id

Get the WacomStylus for the given tool ID.

libwacom_stylus_get_id

@param stylus The stylus to query @return the ID of the tool

libwacom_stylus_get_name

@param stylus The stylus to query @return The name of the stylus

libwacom_stylus_get_num_buttons

@param stylus The stylus to query @return The number of buttons on the stylus

libwacom_stylus_get_type

@param stylus The stylus to query @return The type of stylus

libwacom_stylus_has_eraser

@param stylus The stylus to query @return Whether the stylus has an eraser

libwacom_stylus_has_lens

@param stylus The stylus to query @return Whether the stylus has a lens

libwacom_stylus_has_wheel

@param stylus The stylus to query @return Whether the stylus has a relative mouse wheel

libwacom_stylus_is_eraser

@param stylus The stylus to query @return Whether the stylus is actually an eraser

open_memstream
pclose
perror
popen
printf
putc
putc_unlocked
putchar
putchar_unlocked
puts
putw
remove
rename
renameat
rewind
scanf
scanf1
setbuf
setbuffer
setlinebuf
setvbuf
snprintf
sprintf
sscanf
sscanf1
tempnam
tmpfile
tmpnam
tmpnam_r
ungetc
vdprintf
vfprintf
vfscanf
vfscanf1
vprintf
vscanf
vscanf1
vsnprintf
vsprintf
vsscanf
vsscanf1

Type Definitions

FILE
WacomDevice

@file libwacom.h

WacomDeviceDatabase
WacomError
WacomMatch
WacomStylus
_IO_lock_t
__FILE
__blkcnt64_t
__blkcnt_t
__blksize_t
__builtin_va_list
__caddr_t
__clock_t
__clockid_t
__daddr_t
__dev_t
__fsblkcnt64_t
__fsblkcnt_t
__fsfilcnt64_t
__fsfilcnt_t
__fsword_t
__gid_t
__gnuc_va_list
__id_t
__ino64_t
__ino_t
__int16_t
__int32_t
__int64_t
__int8_t
__intptr_t
__io_close_fn
__io_read_fn
__io_seek_fn
__io_write_fn
__key_t
__loff_t
__mode_t
__nlink_t
__off64_t
__off_t
__pid_t
__qaddr_t
__quad_t
__rlim64_t
__rlim_t
__socklen_t
__ssize_t
__suseconds_t
__syscall_slong_t
__syscall_ulong_t
__time_t
__timer_t
__u_char
__u_int
__u_long
__u_quad_t
__u_short
__uid_t
__uint16_t
__uint32_t
__uint64_t
__uint8_t
__useconds_t
fpos_t
int_fast16_t
int_fast32_t
int_fast64_t
int_fast8_t
int_least16_t
int_least32_t
int_least64_t
int_least8_t
intmax_t
off_t
uint_fast16_t
uint_fast32_t
uint_fast64_t
uint_fast8_t
uint_least16_t
uint_least32_t
uint_least64_t
uint_least8_t
uintmax_t
va_list