Changeset f89979b in mainline for uspace/lib/libc


Ignore:
Timestamp:
2009-02-17T23:05:15Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
24ff4df
Parents:
96e0748d
Message:

Keyboard driver overhaul — organize by hardware structure. This is w.i.p. Modifier keys, as well as ppc32, ia64 and sparc64 will not work yet.

Location:
uspace/lib/libc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/io/stream.c

    r96e0748d rf89979b  
    6868                                rc = kbd_get_event(&ev);
    6969                                if (rc < 0) return -1;
    70                         } while (ev.c == 0);
     70                        } while (ev.c == 0 || ev.type == KE_RELEASE);
    7171
    7272                        ((char *) buf)[i++] = ev.c;
  • uspace/lib/libc/generic/kbd.c

    r96e0748d rf89979b  
    5151
    5252        ev->type = r0;
    53         ev->c = r1;
    54         ev->key = r2;
    55         ev->mods = r3;
     53        ev->key = r1;
     54        ev->mods = r2;
     55        ev->c = r3;
    5656
    5757        return 0;
  • uspace/lib/libc/include/kbd/keycode.h

    r96e0748d rf89979b  
    5555        /* Main block row 1 */
    5656
    57         KC_BACKTICK,
     57        KC_BACKTICK = 1,
    5858
    5959        KC_1,
Note: See TracChangeset for help on using the changeset viewer.