Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
logips2pp.c File Reference
#include <linux/input.h>
#include <linux/serio.h>
#include <linux/libps2.h>
#include "psmouse.h"
#include "logips2pp.h"

Go to the source code of this file.

Data Structures

struct  ps2pp_info
 

Macros

#define PS2PP_KIND_WHEEL   1
 
#define PS2PP_KIND_MX   2
 
#define PS2PP_KIND_TP3   3
 
#define PS2PP_KIND_TRACKMAN   4
 
#define PS2PP_WHEEL   0x01
 
#define PS2PP_HWHEEL   0x02
 
#define PS2PP_SIDE_BTN   0x04
 
#define PS2PP_EXTRA_BTN   0x08
 
#define PS2PP_TASK_BTN   0x10
 
#define PS2PP_NAV_BTN   0x20
 

Functions

 PSMOUSE_DEFINE_ATTR (smartscroll, S_IWUSR|S_IRUGO, NULL, ps2pp_attr_show_smartscroll, ps2pp_attr_set_smartscroll)
 
int ps2pp_init (struct psmouse *psmouse, bool set_properties)
 

Macro Definition Documentation

#define PS2PP_EXTRA_BTN   0x08

Definition at line 28 of file logips2pp.c.

#define PS2PP_HWHEEL   0x02

Definition at line 26 of file logips2pp.c.

#define PS2PP_KIND_MX   2

Definition at line 20 of file logips2pp.c.

#define PS2PP_KIND_TP3   3

Definition at line 21 of file logips2pp.c.

#define PS2PP_KIND_TRACKMAN   4

Definition at line 22 of file logips2pp.c.

#define PS2PP_KIND_WHEEL   1

Definition at line 19 of file logips2pp.c.

#define PS2PP_NAV_BTN   0x20

Definition at line 30 of file logips2pp.c.

#define PS2PP_SIDE_BTN   0x04

Definition at line 27 of file logips2pp.c.

#define PS2PP_TASK_BTN   0x10

Definition at line 29 of file logips2pp.c.

#define PS2PP_WHEEL   0x01

Definition at line 25 of file logips2pp.c.

Function Documentation

int ps2pp_init ( struct psmouse psmouse,
bool  set_properties 
)

Definition at line 328 of file logips2pp.c.

PSMOUSE_DEFINE_ATTR ( smartscroll  ,
S_IWUSR S_IRUGO,
NULL  ,
ps2pp_attr_show_smartscroll  ,
ps2pp_attr_set_smartscroll   
)