Changeset 215abc1 in mainline for uspace/srv/kbd/ctl/pc.c


Ignore:
Timestamp:
2009-06-03T18:49:33Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
05b9912
Parents:
bbdbf86
Message:

keyboard server rewrite: rename "kbd events" to more generic "console events" and similar changes
rename key_buffer.* to keybuffer.*
coding style changes

File:
1 edited

Legend:

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

    rbbdbf86 r215abc1  
    3333/**
    3434 * @file
    35  * @brief       PC keyboard controller driver.
     35 * @brief PC keyboard controller driver.
    3636 */
    3737
    3838#include <kbd.h>
    39 #include <kbd/kbd.h>
    40 #include <kbd/keycode.h>
     39#include <io/console.h>
     40#include <io/keycode.h>
    4141#include <kbd_ctl.h>
    4242#include <gsp.h>
     
    189189void kbd_ctl_parse_scancode(int scancode)
    190190{
    191         kbd_ev_type_t type;
     191        console_ev_type_t type;
    192192        unsigned int key;
    193193        int *map;
     
    214214        if (scancode & 0x80) {
    215215                scancode &= ~0x80;
    216                 type = KE_RELEASE;
     216                type = KEY_RELEASE;
    217217        } else {
    218                 type = KE_PRESS;
     218                type = KEY_PRESS;
    219219        }
    220220
Note: See TracChangeset for help on using the changeset viewer.