Changeset 24ff4df in mainline for uspace/srv/kbd/ctl/pc.c
- Timestamp:
- 2009-02-18T21:47:05Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 96f392c
- Parents:
- f89979b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/kbd/ctl/pc.c
rf89979b r24ff4df 27 27 */ 28 28 29 /** @addtogroup kbd 29 /** @addtogroup kbd_ctl 30 * @ingroup kbd 31 * @{ 32 */ 33 /** 34 * @file 30 35 * @brief PC keyboard controller driver. 31 * @{ 32 */ 36 */ 33 37 34 38 #include <kbd.h> … … 37 41 #include <kbd_ctl.h> 38 42 39 int scanmap_simple[];43 static int scanmap_simple[]; 40 44 41 45 void kbd_ctl_parse_scancode(int scancode) … … 44 48 unsigned int key; 45 49 46 if (scancode < 0 || scancode >= 0x100) return; 50 if (scancode < 0 || scancode >= 0x100) 51 return; 47 52 48 53 if (scancode & 0x80) { … … 58 63 } 59 64 60 int scanmap_simple[128] = {65 static int scanmap_simple[128] = { 61 66 62 67 [0x29] = KC_BACKTICK,
Note:
See TracChangeset
for help on using the changeset viewer.