[PD] HID: Am I doing this right?

Hans-Christoph Steiner hans at eds.org
Fri Mar 21 15:34:20 CET 2008


On Mar 21, 2008, at 3:25 AM, Steffen Juul wrote:

>
> On 20/03/2008, at 21.18, Mike McGonagle wrote:
>
>> In playing with [hid] a bit more, it appears that you can have it
>> track when multiple keys are down. Just as a test, I pressed and
>> held down keys, and once I get to the sixth key, no matter what key
>> I pressed it would output 'key_1 1' for that key, and any
>> subsequent keys that are pressed are not registered.
>>
>> Is the number of multiple keys restricted by [hid] or the system?
>> Is 'key_1 1' an indicator that no more keys can be pressed?
>
> I've also been successful with five keys max. I don't know if that's
> within specs. Maybe you can juice something out of - or sub to,
> depending on your OS - <https://sourceforge.net/tracker/index.php?
> func=detail&aid=1698780&group_id=55736&atid=478070>

I think the 5 key limit is actually related to the keyboard  
hardware.  It's not in [hid].  [hid] just reports the events as it  
receives them from the OS.

.hc



------------------------------------------------------------------------ 
----

                             kill your television






More information about the Pd-list mailing list