added ricatech netbook touchpad recognition. works ok now. hope nobody minds..

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37082 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen 2010-06-10 10:48:07 +00:00
parent 297bfa1aba
commit a586cdf275
2 changed files with 3 additions and 1 deletions

View File

@ -71,6 +71,7 @@
// mouse device IDs
#define PS2_DEV_ID_STANDARD 0
#define PS2_DEV_ID_INTELLIMOUSE 3
#define PS2_DEV_ID_TOUCHPAD_RICATECH 4
// packet sizes
#define PS2_PACKET_STANDARD 3

View File

@ -300,7 +300,8 @@ probe_standard_mouse(ps2_dev * dev)
}
}
if (deviceId == PS2_DEV_ID_STANDARD) {
if ((deviceId == PS2_DEV_ID_STANDARD) ||
(deviceId == PS2_DEV_ID_TOUCHPAD_RICATECH)) {
INFO("ps2: probe_mouse Standard PS/2 mouse found\n");
dev->name = kStandardMousePath[dev->idx];
dev->packet_size = PS2_PACKET_STANDARD;