Changeset ecc6323 in mainline
- Timestamp:
- 2012-01-03T15:09:52Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a455321
- Parents:
- 1ff1ee1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/xtkbd/xtkbd.c
r1ff1ee1 recc6323 43 43 44 44 #include "xtkbd.h" 45 45 46 /** Scancode set 1 table. */ 46 47 static const int scanmap_simple[] = { … … 153 154 }; 154 155 155 #define SCANCODE_SET_EXTENDED 0xe0 156 #define KBD_ACK 0xfa 157 #define KBD_RESEND 0xfe 158 #define KBD_SCANCODE_SET_EXTENDED 0xe0 156 159 /** Scancode set 1 extended codes table */ 157 160 static const int scanmap_e0[] = { … … 263 266 ssize_t size = char_dev_read(kbd->parent_sess, &code, 1); 264 267 265 if (code == SCANCODE_SET_EXTENDED) { 268 /** Ignore AT command reply */ 269 if (code == KBD_ACK || code == KBD_RESEND) { 270 continue; 271 } 272 273 if (code == KBD_SCANCODE_SET_EXTENDED) { 266 274 map = scanmap_e0; 267 275 map_size = sizeof(scanmap_e0) / sizeof(int);
Note:
See TracChangeset
for help on using the changeset viewer.