9front - general discussion about 9front
 help / color / mirror / Atom feed
* Re: [9front-commits] ftrvxmtrx: hg/plan9front: kbd: add "repeat" file to set typemati...
       [not found] <hg.95e095480480.1585406323.4892889753185008284@code.9front.org>
@ 2020-03-30 22:56 ` Lyndon Nerenberg
  2020-03-31  1:25   ` [9front] " Sigrid Solveig Haflínudóttir
                     ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Lyndon Nerenberg @ 2020-03-30 22:56 UTC (permalink / raw)
  To: 9front

A bit of a nitpick here, but /dev/repeat is an awfully generic filename.
Wouldn't something like /dev/kbdrate be a bit more obvious?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9front] Re: [9front-commits] ftrvxmtrx: hg/plan9front: kbd: add "repeat" file to set typemati...
  2020-03-30 22:56 ` [9front-commits] ftrvxmtrx: hg/plan9front: kbd: add "repeat" file to set typemati Lyndon Nerenberg
@ 2020-03-31  1:25   ` Sigrid Solveig Haflínudóttir
  2020-03-31  1:28   ` Alex Musolino
  2020-04-04 16:19   ` cinap_lenrek
  2 siblings, 0 replies; 5+ messages in thread
From: Sigrid Solveig Haflínudóttir @ 2020-03-31  1:25 UTC (permalink / raw)
  To: 9front

[-- Attachment #1: Type: text/plain, Size: 178 bytes --]

It is indeed. So is all of kbd, like /dev/leds and /dev/scancode. There is
also kbdfs that reads scancodes and provides several /dev/kbd* files. Not
sure what's best to do here.

[-- Attachment #2: Type: text/html, Size: 204 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9front] Re: [9front-commits] ftrvxmtrx: hg/plan9front: kbd: add "repeat" file to set typemati...
  2020-03-30 22:56 ` [9front-commits] ftrvxmtrx: hg/plan9front: kbd: add "repeat" file to set typemati Lyndon Nerenberg
  2020-03-31  1:25   ` [9front] " Sigrid Solveig Haflínudóttir
@ 2020-03-31  1:28   ` Alex Musolino
  2020-03-31  1:37     ` Sigrid Solveig Haflínudóttir
  2020-04-04 16:19   ` cinap_lenrek
  2 siblings, 1 reply; 5+ messages in thread
From: Alex Musolino @ 2020-03-31  1:28 UTC (permalink / raw)
  To: 9front

Furthermore, as much as I don't really care about PS/2 keyboards, the
interface is really very un-plan9.  I don't want to be dealing with
bitmasks specific to PS/2 controllers to set this kind of thing.
Instead /dev/kbdrate should accept two integers: the initial delay (in
ms), followed by the repeat delay (also in ms).  That kind of
interface will also work for other keyboard controllers.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9front] Re: [9front-commits] ftrvxmtrx: hg/plan9front: kbd: add "repeat" file to set typemati...
  2020-03-31  1:28   ` Alex Musolino
@ 2020-03-31  1:37     ` Sigrid Solveig Haflínudóttir
  0 siblings, 0 replies; 5+ messages in thread
From: Sigrid Solveig Haflínudóttir @ 2020-03-31  1:37 UTC (permalink / raw)
  To: 9front

[-- Attachment #1: Type: text/plain, Size: 248 bytes --]

Happy to change it (add to kbdfs?) once we can figure a way to do it for
nusb/kb. Btw /dev/leds is a bitmask. The addition of repeat and delay
seemed like extremely ps2 specific thing here in general, considering it's
still _a ps/2 kernel driver_.

[-- Attachment #2: Type: text/html, Size: 275 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9front] Re: [9front-commits] ftrvxmtrx: hg/plan9front: kbd: add "repeat" file to set typemati...
  2020-03-30 22:56 ` [9front-commits] ftrvxmtrx: hg/plan9front: kbd: add "repeat" file to set typemati Lyndon Nerenberg
  2020-03-31  1:25   ` [9front] " Sigrid Solveig Haflínudóttir
  2020-03-31  1:28   ` Alex Musolino
@ 2020-04-04 16:19   ` cinap_lenrek
  2 siblings, 0 replies; 5+ messages in thread
From: cinap_lenrek @ 2020-04-04 16:19 UTC (permalink / raw)
  To: 9front

yes, i agree. note that scancode filename was choosen because of inferno's
cons(3) scancode file. we use the same format.

--
cinap


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-04 16:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <hg.95e095480480.1585406323.4892889753185008284@code.9front.org>
2020-03-30 22:56 ` [9front-commits] ftrvxmtrx: hg/plan9front: kbd: add "repeat" file to set typemati Lyndon Nerenberg
2020-03-31  1:25   ` [9front] " Sigrid Solveig Haflínudóttir
2020-03-31  1:28   ` Alex Musolino
2020-03-31  1:37     ` Sigrid Solveig Haflínudóttir
2020-04-04 16:19   ` cinap_lenrek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).