The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/i386/include/joystick.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 #ifndef _MACHINE_JOYSTICK_H_
    2 #define _MACHINE_JOYSTICK_H_
    3 
    4 #include <sys/ioccom.h>
    5 
    6 struct joystick {
    7     int x;
    8     int y;
    9     int b1;
   10     int b2;
   11 };
   12 
   13 #define JOY_SETTIMEOUT    _IOW('J', 1, int)    /* set timeout */
   14 #define JOY_GETTIMEOUT    _IOR('J', 2, int)    /* get timeout */
   15 #define JOY_SET_X_OFFSET  _IOW('J', 3, int)    /* set offset on X-axis */
   16 #define JOY_SET_Y_OFFSET  _IOW('J', 4, int)    /* set offset on X-axis */
   17 #define JOY_GET_X_OFFSET  _IOR('J', 5, int)    /* get offset on X-axis */
   18 #define JOY_GET_Y_OFFSET  _IOR('J', 6, int)    /* get offset on Y-axis */
   19 
   20 #endif /* !_MACHINE_JOYSTICK_H_ */

Cache object: f53bf99daa0c4a6364958e3f5719bbb7


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.