Chris Wilkinson wrote:
> Hi there,
>
> [EMAIL PROTECTED] wrote:
>   
>> Under Windows there are settings for the Keyboard delay and repeat  rate.  
>> So 
>> the delay can be set to 0.  I would think you should  have a similar setting 
>> in the keyboard options under SUSE  10.1.
>>     
>
> Thats true, but wouldn't that then make typing emails and other
> documents a little difficult?... :-)
>
>   
>> As far as holding one key down and repeating then  pressing another key that 
>> will always kill the repeat on the first key.   Every keyboard I have ever 
>> used behaved that way.
>>     
>
> It must be able to be done. I can 'play' the keyboard using ZynAddSubFx,
> a free software synth, and it allows multiple keypresses, as many as
> 6-8 note poly (depending on CPU)...no keypress will interrupt any other
> note being held down....
>
> I suspect its SDL or freeglut that are relying on the preset keyboard
> repeat/rate settings, instead of allowing custom settings to be used.
>
> Kind regards,
>
> Chris Wilkinson, Brisbane, Australia.
>   
That I know of, the PS2 keyboard controllers have a hardware limitation 
of 3 simultaneous keys pressed at once. Any further keys are ignored. I 
believe that the reason for the repeat interruption has to do with the 
fact that the OS is using a character based ISR (probably not the BIOS 
interrupt, but I suppose it could) and passing messages in the same way. 
However, in windows, directx seems to be able to handle the keyboard in 
the former way. Another way to look at it is:


The 3-key:

There's a table somewhere in memory.
<key is pressed and held>
An interrupt is generated at the change of the keyboard state.
Keyboard is polled.
The table is set on (or off, when the key is let off), and left that way 
until there is another change in state, and thus an interrupt.


The Repeating key:
<key is pressed and held>
#delay
A stream of seperate messages generated until the key is released.

JD


-- 
A scientist claims in court that the reason he ran a red light is that, due to 
his speed, the color was blueshifted till it appeared green.  Needless to say, 
the charges of running the red light were dropped and he lost his license for 
speeding excessively.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to