Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
spaceball.c File Reference
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/input.h>
#include <linux/serio.h>

Go to the source code of this file.

Data Structures

struct  spaceball
 

Macros

#define DRIVER_DESC   "SpaceTec SpaceBall 2003/3003/4000 FLX driver"
 
#define SPACEBALL_MAX_LENGTH   128
 
#define SPACEBALL_MAX_ID   9
 
#define SPACEBALL_1003   1
 
#define SPACEBALL_2003B   3
 
#define SPACEBALL_2003C   4
 
#define SPACEBALL_3003C   7
 
#define SPACEBALL_4000FLX   8
 
#define SPACEBALL_4000FLX_L   9
 

Functions

 MODULE_AUTHOR ("Vojtech Pavlik <[email protected]>")
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (serio, spaceball_serio_ids)
 
 module_serio_driver (spaceball_drv)
 

Macro Definition Documentation

#define DRIVER_DESC   "SpaceTec SpaceBall 2003/3003/4000 FLX driver"

Definition at line 40 of file spaceball.c.

#define SPACEBALL_1003   1

Definition at line 53 of file spaceball.c.

#define SPACEBALL_2003B   3

Definition at line 54 of file spaceball.c.

#define SPACEBALL_2003C   4

Definition at line 55 of file spaceball.c.

#define SPACEBALL_3003C   7

Definition at line 56 of file spaceball.c.

#define SPACEBALL_4000FLX   8

Definition at line 57 of file spaceball.c.

#define SPACEBALL_4000FLX_L   9

Definition at line 58 of file spaceball.c.

#define SPACEBALL_MAX_ID   9

Definition at line 51 of file spaceball.c.

#define SPACEBALL_MAX_LENGTH   128

Definition at line 50 of file spaceball.c.

Function Documentation

MODULE_AUTHOR ( "Vojtech Pavlik <[email protected]>"  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
MODULE_DEVICE_TABLE ( serio  ,
spaceball_serio_ids   
)
MODULE_LICENSE ( "GPL"  )
module_serio_driver ( spaceball_drv  )