[MPlayer-dev-eng] [PATCH] Enable key repeats with vo_quartz

Dan Christiansen danchr at daimi.au.dk
Sun Jul 18 19:45:20 CEST 2004


This small patch makes vo_quartz listen for key repeats, if you keep a
key pressed, it'll keep doing what it just did. An example: You no
longer have to push the key several times to decrease the volume, simply
keeping the key pressed does the job.

As part of this patch, I took the liberty of separating the huge switch
statement in the Carbon callback into a separate function.

- Dan

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: quartz-keys.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040718/1cd34bdf/attachment.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3727 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040718/1cd34bdf/attachment.bin>


More information about the MPlayer-dev-eng mailing list