Changeset fa09449 in mainline for uspace/app/tetris/input.c


Ignore:
Timestamp:
2009-02-15T22:31:07Z (15 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/tetris/input.c

    r76dd25b rfa09449  
    115115                        cons_phone = get_cons_phone();
    116116                        getchar_inprog = async_send_2(cons_phone,
    117                             CONSOLE_GETCHAR, 0, 0, &charcall);
     117                            CONSOLE_GETKEY, 0, 0, &charcall);
    118118                }
    119119                if (!s)
     
    128128                        stop("end of file, help");
    129129                }
    130                 lastchar = IPC_GET_ARG1(charcall);
     130                lastchar = IPC_GET_ARG4(charcall);
    131131        }
    132132        if (tvp) {
Note: See TracChangeset for help on using the changeset viewer.