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


Ignore:
Timestamp:
2009-03-08T14:31:51Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6346efd
Parents:
2270bef
Message:

Constructing parser machines for tty keyboards by hand is a pain. Let the machine do it — let's nuke some ants.

File:
1 edited

Legend:

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

    r2270bef rb0b5628  
    4040#include <kbd/keycode.h>
    4141#include <kbd_ctl.h>
     42#include <gsp.h>
    4243
    4344enum dec_state {
     
    4647};
    4748
    48 static enum dec_state ds = ds_s;
     49static enum dec_state ds;
    4950
    5051static int scanmap_simple[] = {
     
    180181};
    181182
     183int kbd_ctl_init(void)
     184{
     185        ds = ds_s;
     186        return 0;
     187}
    182188
    183189void kbd_ctl_parse_scancode(int scancode)
Note: See TracChangeset for help on using the changeset viewer.