Changeset 24ff4df in mainline for uspace/srv/kbd/ctl/pc.c


Ignore:
Timestamp:
2009-02-18T21:47:05Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
96f392c
Parents:
f89979b
Message:

Add some missing ports and controllers (untested). Remove old parts of keyboard driver.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/kbd/ctl/pc.c

    rf89979b r24ff4df  
    2727 */
    2828
    29 /** @addtogroup kbd
     29/** @addtogroup kbd_ctl
     30 * @ingroup kbd
     31 * @{
     32 */
     33/**
     34 * @file
    3035 * @brief       PC keyboard controller driver.
    31  * @{
    32  */
     36 */
    3337
    3438#include <kbd.h>
     
    3741#include <kbd_ctl.h>
    3842
    39 int scanmap_simple[];
     43static int scanmap_simple[];
    4044
    4145void kbd_ctl_parse_scancode(int scancode)
     
    4448        unsigned int key;
    4549
    46         if (scancode < 0 || scancode >= 0x100) return;
     50        if (scancode < 0 || scancode >= 0x100)
     51                return;
    4752
    4853        if (scancode & 0x80) {
     
    5863}
    5964
    60 int scanmap_simple[128] = {
     65static int scanmap_simple[128] = {
    6166
    6267        [0x29] = KC_BACKTICK,
Note: See TracChangeset for help on using the changeset viewer.