Rev 4044 | Rev 4144 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4044 | Rev 4143 | ||
---|---|---|---|
Line 69... | Line 69... | ||
69 | { |
69 | { |
70 | int32_t c; |
70 | int32_t c; |
71 | (void) arg; |
71 | (void) arg; |
72 | 72 | ||
73 | while (1) { |
73 | while (1) { |
- | 74 | while (1) { |
|
74 | c = ski_getchar(); |
75 | c = ski_getchar(); |
75 | if (c != 0) |
76 | if (c == 0) break; |
76 | kbd_push_scancode(c); |
77 | kbd_push_scancode(c); |
- | 78 | } |
|
77 | 79 | ||
78 | usleep(POLL_INTERVAL); |
80 | usleep(POLL_INTERVAL); |
79 | } |
81 | } |
80 | } |
82 | } |
81 | 83 |