TABSAMPLERATE (Set Tablet Sample Rate) ioctl Tablet Device Driver Operation

Purpose

Sets tablet sample rate.

Syntax

#include <sys/inputdd.h>
int ioctl (FileDescriptor, TABSAMPLERATE, Arg)
int FileDescriptor;
uint *Arg;

Description

The TABSAMPLERATE ioctl subroutine call specifies the number of times per second that the puck location and button status are sampled. The minimum rate is 0 and the maximum rate is 100. The default rate is one sample per second.

Parameters

Item Description
FileDescriptor Specifies the open file descriptor for the tablet.
Arg Specifies the address of an integer that contains the desired sample rate.