I recently noticed that DGDK2 seems to buffer all mouse / keyboard input (not sure about gamepads, joysticks, etc.). This has the highly undesired side effect that if your application runs at lower speed than whatever it might be (I'm guessing 60FPS) the functions to check these values will return old data.
Ie. my application runs at 20FPS and I hold down the left mouse button for 5 seconds then release it.
dbMouseKey() will keep returning a bitmask containing 1 for 10 seconds after I release the key.
I was wondering if this is intended behaviour (because it definitively isn't how it works in either DGDK1 or DBPro) and if it might be toggleable somehow? I browsed through the documentation quickly but didn't find any such indications.
I know I can just call
GetAsyncKeystate() etc. myself but I wanted to point this out since I doubt it should be acting like that.
"Why do programmers get Halloween and Christmas mixed up?" Because Oct(31) = Dec(25)