[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Kernel and Subsystems Technical Reference, 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.

Implementation Specifics

This ioctl subroutine call is part of Base Operating System (BOS) Runtime.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]