[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, Volume 2

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

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

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]