[Gambas-user] how to flush a process stream

Laurent Carlier lordheavym at ...626...
Wed Mar 30 12:15:48 CEST 2011


Le mercredi 30 mars 2011 04:57:46, Kevin Fishburne a écrit :
> 
> That is very cool... I'm looking forward to seeing it, and yes I'm
> currently using the SDL component. I switched the game over a couple of
> months ago.
> 
> What I did to relieve the problem for now was to call the WAIT statement
> a bunch of times using a FOR...NEXT loop. That way even if my frame rate
> is low, the gamepad's READ event is allowed to trigger multiple times
> per frame.

You can find a preliminary support of joysticks in gb.sdl in rev #3705, and a 
small example joined here.

++
-------------- next part --------------
A non-text attachment was scrubbed...
Name: joytest-0.0.1.tar.gz
Type: application/x-compressed-tar
Size: 4852 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20110330/8ee5fbd8/attachment.bin>


More information about the User mailing list