ATi Remote key repeat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I demand that Chris Jones may or may not have written...

> On Wed, 2006-06-28 at 01:28 +0200, Oliver Endriss wrote:
>> Please try the evtest tool from the dvb-apps package and post its output
>> for a short key press and for a long one.

> This is the output of me pressing the play button very quickly, then
> holding it down for about a second and a half (just a guess).

[snip]
> Event: time 1151662027.431265, type 1 (Key), code 207 (?), value 1
> Event: time 1151662027.431268, type 1 (Key), code 207 (?), value 0
> Event: time 1151662027.431270, type 0 (Reset), code 0 (Reset), value 0
> Event: time 1151662027.479263, type 1 (Key), code 207 (?), value 1
> Event: time 1151662027.479267, type 1 (Key), code 207 (?), value 0
> Event: time 1151662027.479270, type 0 (Reset), code 0 (Reset), value 0

Too close together, unless you really did press & release twice, 0.048s
apart.

[snip]

> Event: time 1151662030.150825, type 1 (Key), code 207 (?), value 1
> Event: time 1151662030.150829, type 1 (Key), code 207 (?), value 0
> Event: time 1151662030.150831, type 0 (Reset), code 0 (Reset), value 0
> Event: time 1151662030.198825, type 1 (Key), code 207 (?), value 1
> Event: time 1151662030.198828, type 1 (Key), code 207 (?), value 0
> Event: time 1151662030.198831, type 0 (Reset), code 0 (Reset), value 0

0.048s again. This *is* holding it down? Surely it should be more like this:

  Event: time 1151662030.150825, type 1 (Key), code 207 (?), value 1
  Event: time 1151662030.198825, type 1 (Key), code 207 (?), value 2
  Event: time 1151662030.246810, type 1 (Key), code 207 (?), value 2
  ...
  Event: time 1151662031.126671, type 1 (Key), code 207 (?), value 0

but with a better delay, and with *either* its own repeat handling (set
input_dev->rep[0] = input_dev->rep[1] = 1 before calling
input_register_device()) or the default repeat handler (set them to 0
instead).

-- 
| Darren Salt    | linux or ds at              | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Generate power using sun, wind, water, nuclear.      FORGET COAL AND OIL.

Houdini escaping from New Jersey!


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux