Changeset fa09449 in mainline for uspace/app/trace/trace.c


Ignore:
Timestamp:
2009-02-15T22:31:07Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6cd9aa6
Parents:
76dd25b
Message:

Keycodes, keyboard events, kbd_event_get(). Keyboard driver now (formally) produces kbd events (press/release, keycode, mods, char) instead of just characters. In reality, the driver and client are only hacked to work with the new interface atm.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/trace/trace.c

    r76dd25b rfa09449  
    624624                V_INTEGER,
    625625                V_INTEGER,
    626                 V_INTEGER               
     626                V_INTEGER
    627627        };
    628628
     
    659659
    660660        p = proto_new("console");
    661         resp_def[0] = V_CHAR;
    662         o = oper_new("getchar", 0, arg_def, V_INTEGER, 2, resp_def);
    663         proto_add_oper(p, CONSOLE_GETCHAR, o);
     661        resp_def[0] = V_INTEGER; resp_def[1] = V_INTEGER;
     662        resp_def[2] = V_INTEGER; resp_def[3] = V_CHAR;
     663        o = oper_new("getkey", 0, arg_def, V_ERRNO, 4, resp_def);
     664        proto_add_oper(p, CONSOLE_GETKEY, o);
    664665
    665666        arg_def[0] = V_CHAR;
Note: See TracChangeset for help on using the changeset viewer.