Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 9df34ee in mainline


Ignore:
Timestamp:
2009-03-17T23:06:42Z (12 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master
Children:
692b30dc
Parents:
7e15496
Message:

Smarter polling to make ski keyboard usable again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/kbd/port/ski.c

    r7e15496 r9df34ee  
    7272
    7373        while (1) {
    74                 c = ski_getchar();
    75                 if (c != 0)
     74                while (1) {
     75                        c = ski_getchar();
     76                        if (c == 0) break;
    7677                        kbd_push_scancode(c);
     78                }
    7779
    7880                usleep(POLL_INTERVAL);
Note: See TracChangeset for help on using the changeset viewer.