7d4a1addde
The IOMD/VIDC combination is now moved to arch/arm/iomd together. These files still need a lot of cleaning up :( .... esp. the RC7500 support that is still dormant in it; this needs either to be removed or split out for RC7500's ``VIDC'' video/audio variant. Apart from the RC7500 support wich is still in arch/arm32 the iomd,vidc,riscpc and podulebus subdirectories of arch/arm32 can be removed. This split still uses some small parts of arch/arm32 .... those are the MI parts that haven't been moved yet. RiscPC/A7000 have been tested and confirmed to build as should NC.
24 lines
681 B
C
24 lines
681 B
C
/* $NetBSD: joystick.h,v 1.1 2001/10/05 22:27:51 reinoud Exp $ */
|
|
|
|
#ifndef _JOY_IOCTL_H_
|
|
#define _JOY_IOCTL_H_
|
|
|
|
#include <sys/types.h>
|
|
#include <sys/ioctl.h>
|
|
|
|
struct joystick {
|
|
int x;
|
|
int y;
|
|
int b1;
|
|
int b2;
|
|
};
|
|
|
|
#define JOY_SETTIMEOUT _IOW('J', 1, int) /* set timeout */
|
|
#define JOY_GETTIMEOUT _IOR('J', 2, int) /* get timeout */
|
|
#define JOY_SET_X_OFFSET _IOW('J', 3, int) /* set offset on X-axis */
|
|
#define JOY_SET_Y_OFFSET _IOW('J', 4, int) /* set offset on X-axis */
|
|
#define JOY_GET_X_OFFSET _IOR('J', 5, int) /* get offset on X-axis */
|
|
#define JOY_GET_Y_OFFSET _IOR('J', 6, int) /* get offset on Y-axis */
|
|
|
|
#endif /* _JOY_IOCTL_H_ */
|