X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Finput%2Fmouse%2Falps.h;h=69db7325a4944a79dc2aef6a925cdb329a262a24;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=8efcec5d0a66e2d4ae69e0f4eaadc1e329966849;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/drivers/input/mouse/alps.h b/drivers/input/mouse/alps.h index 8efcec5d0..69db7325a 100644 --- a/drivers/input/mouse/alps.h +++ b/drivers/input/mouse/alps.h @@ -2,6 +2,7 @@ * ALPS touchpad PS/2 mouse driver * * Copyright (c) 2003 Peter Osterlund + * Copyright (c) 2005 Vojtech Pavlik * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by @@ -14,4 +15,18 @@ int alps_detect(struct psmouse *psmouse, int set_properties); int alps_init(struct psmouse *psmouse); +struct alps_model_info { + unsigned char signature[3]; + unsigned char byte0, mask0; + unsigned char flags; +}; + +struct alps_data { + struct input_dev *dev2; /* Relative device */ + char name[32]; /* Name */ + char phys[32]; /* Phys */ + const struct alps_model_info *i;/* Info */ + int prev_fin; /* Finger bit from previous packet */ +}; + #endif