summaryrefslogtreecommitdiffstats
path: root/include/linux/libps2.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2006-09-14 01:31:27 -0400
committerDmitry Torokhov <dtor@insightbb.com>2006-09-14 01:31:27 -0400
commit9807879bfdc0c2b5106b4b378f5475c6a333d853 (patch)
tree2a761ae4d03b35e371044014af4addcc23f326da /include/linux/libps2.h
parenta91eaa16df5cd6c552e3a4a6e40e60ffbd9be951 (diff)
downloadblackbird-op-linux-9807879bfdc0c2b5106b4b378f5475c6a333d853.tar.gz
blackbird-op-linux-9807879bfdc0c2b5106b4b378f5475c6a333d853.zip
Input: atkbd - support Microsoft Natural Elite Pro keyboards
Microsoft Natural Elite Pro keyboard produces unisual response to the GET ID command - single byte 0xaa (normally keyboards produce 2-byte response). Fail GET ID command so atkbd gets a change to do alternate probe. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/libps2.h')
-rw-r--r--include/linux/libps2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/libps2.h b/include/linux/libps2.h
index 08a450a9dbf7..f6f301e2b0f5 100644
--- a/include/linux/libps2.h
+++ b/include/linux/libps2.h
@@ -47,5 +47,6 @@ int ps2_schedule_command(struct ps2dev *ps2dev, unsigned char *param, int comman
int ps2_handle_ack(struct ps2dev *ps2dev, unsigned char data);
int ps2_handle_response(struct ps2dev *ps2dev, unsigned char data);
void ps2_cmd_aborted(struct ps2dev *ps2dev);
+int ps2_is_keyboard_id(char id);
#endif /* _LIBPS2_H */
OpenPOWER on IntegriCloud