home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
linuxmafia.com 2016
/
linuxmafia.com.tar
/
linuxmafia.com
/
pub
/
palmos
/
stepcounter-1.3.tar.gz
/
stepcounter-1.3.tar
/
stepcounter-1.3
/
tilt.h
< prev
Wrap
C/C++ Source or Header
|
2000-02-08
|
652b
|
25 lines
/*
tilt.h - (c) 1999 Till Harbaum
palm tilt sensor interface
t.harbaum@tu-bs.de
*/
#ifndef __TILT_H__
#define __TILT_H__
#define TILT_WRONG_OS 3
#define TILT_NO_SENSOR 4
#define TILT_HW_BUSY 5
/* tilt interface function declarations */
Err TiltLibOpen(UInt refNum) SYS_TRAP(sysLibTrapOpen);
Err TiltLibClose(UInt refNum, UIntPtr numappsP) SYS_TRAP(sysLibTrapClose);
Err TiltLibZero(UInt refNum) SYS_TRAP(sysLibTrapCustom+0);
Err TiltLibGet(UInt refNum, Word *x, Word *y) SYS_TRAP(sysLibTrapCustom+1);
Err TiltLibGetAbs(UInt refNum, Word *x, Word *y) SYS_TRAP(sysLibTrapCustom+2);
#endif