#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/poll.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/input.h>
#include <linux/random.h>
#include <linux/major.h>
#include <linux/device.h>
#include <linux/cdev.h>
#include <linux/kernel.h>
Go to the source code of this file.
|
| MODULE_AUTHOR ("Vojtech Pavlik <[email protected]>") |
|
| MODULE_DESCRIPTION ("Mouse (ExplorerPS/2) device interfaces") |
|
| MODULE_LICENSE ("GPL") |
|
| module_param (xres, uint, 0644) |
|
| MODULE_PARM_DESC (xres,"Horizontal screen resolution") |
|
| module_param (yres, uint, 0644) |
|
| MODULE_PARM_DESC (yres,"Vertical screen resolution") |
|
| module_param (tap_time, uint, 0644) |
|
| MODULE_PARM_DESC (tap_time,"Tap time for touchpads in absolute mode (msecs)") |
|
| MODULE_DEVICE_TABLE (input, mousedev_ids) |
|
| module_init (mousedev_init) |
|
| module_exit (mousedev_exit) |
|
#define CONFIG_INPUT_MOUSEDEV_SCREEN_X 1024 |
#define CONFIG_INPUT_MOUSEDEV_SCREEN_Y 768 |
#define MOUSEDEV_MINOR_BASE 32 |
#define MOUSEDEV_MINORS 31 |
#define MOUSEDEV_SEQ_LEN 6 |
#define PACKET_QUEUE_LEN 16 |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
- Enumerator:
MOUSEDEV_EMUL_PS2 |
|
MOUSEDEV_EMUL_IMPS |
|
MOUSEDEV_EMUL_EXPS |
|
Definition at line 82 of file mousedev.c.
MODULE_DESCRIPTION |
( |
"Mouse (ExplorerPS/2) device interfaces" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
input |
, |
|
|
mousedev_ids |
|
|
) |
| |
module_exit |
( |
mousedev_exit |
| ) |
|
module_init |
( |
mousedev_init |
| ) |
|
module_param |
( |
xres |
, |
|
|
uint |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
yres |
, |
|
|
uint |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
tap_time |
, |
|
|
uint |
, |
|
|
0644 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
xres |
, |
|
|
"Horizontal screen resolution" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
yres |
, |
|
|
"Vertical screen resolution" |
|
|
) |
| |