Keyboard.enableBuffer() not available in 0.95win?

The javadoc here:

http://www.lwjgl.org/javadoc/

Mentions a method called enableBuffer() on the Keyboard class.

It doesn’t seem to be present in the 0.95 win32 distribution.

I have downloaded 0.94, and it does exist there.

Problem with the distribution or planned removal?

Regards,

Owen Butler

I may be wrong, but I think it gets done automagically when you create it.

Personally I’m baffled by the large amount of people using keyboard buffering, whats wrong with just polling state in your game loop?

Polling is ok for movement keys and such, but for things like typing, you need some kind of buffering.

Thats the exception that proves the rule, it seems theres a growing amount of people that are using buffering for in-game controls as well.

Yes, and really, they shouldn’t be, generally.

Cas :slight_smile:

I think it makes sence to mix it up. Polling for movement, buffering for fire or other “event” keys that you absolutely have to recieve.

enableBuffer() was removed in 0.95, I noticed this and mentioned it on the LWJGL site. aparently it was mentioned in the changelog, I asked the developers to in future mark these methods as deprecated rather than just removing them completely, it makes sense to remove them in a 1.0 release, but not before hand.

Andy.