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_p3
/
tilt.h
< prev
next >
Wrap
C/C++ Source or Header
|
1999-10-27
|
627b
|
24 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
/* 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