diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-11-23 00:50:44 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-11-23 00:50:44 +0100 |
commit | 518fd3ec8350a010e5ed6490e1106c66af8f4d02 (patch) | |
tree | 5a15adfe8b2dbd7d12cb5b5f19f8843bb587191e /sys/src/cmd/rio/rio.c | |
parent | 569bdd00c2d3df235ed42abce09d286f30e0edbd (diff) |
rio: stop serving kbdin file (thanks eekee)
kbdfs already provides a /dev/kbdin file for the system, rio does
not need to provide one for the onscreen keyboard anymore.
Diffstat (limited to 'sys/src/cmd/rio/rio.c')
-rw-r--r-- | sys/src/cmd/rio/rio.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/sys/src/cmd/rio/rio.c b/sys/src/cmd/rio/rio.c index 052dcaff3..424b28640 100644 --- a/sys/src/cmd/rio/rio.c +++ b/sys/src/cmd/rio/rio.c @@ -361,29 +361,6 @@ keyboardthread(void*) } } -/* - * Used by /dev/kbdin - */ -void -keyboardsend(char *s, int cnt) -{ - if(cnt <= 0) - return; - if(s[cnt-1] == 0) - chanprint(kbdchan, "%s", s); - else { - Rune r; - int nb; - - nb = 0; - while(fullrune(s+nb, cnt-nb)){ - nb += chartorune(&r, s+nb); - if(r != 0) - chanprint(kbdchan, "c%C", r); - } - } -} - int portion(int x, int lo, int hi) { |