Keydown not detect in windowed mode (MAC OS X)
BlitzMax Forums/BlitzMax Beginners Area/Keydown not detect in windowed mode (MAC OS X)
| ||
Hi all. I'm having a trouble in windowed mode in MAC. The program doesn't receive any input by keyboard vía keydown()... but the mouse (with mousedown(1)) works well. I've tried in Windows and works normally. I'm in BlitzMax 1.32 and MAC OS 10.5.8 Anybody knows any solution? Thanks in advance and excuse my poor english. PS.: There is a little code that refuse to "read" the keyboard: AppTitle$="Window mode" SetGraphicsDriver GLMax2DDriver() Graphics 640,480,0,60 HideMouse() Global done:Int=0 While done=0 If MouseDown(1) Then done=1 DrawText ("push esc to exit",10,10) Flip If KeyDown(key_escape) Then done=1 Wend |
| ||
Don't know about the bug but we're up to 1.38 now. I'd check against the latest version first as something might have changed since. See Account>>Product Updates. |
| ||
Hey! I just tried it in 1.38 and it works flawlessly. Thank you, GfK. Regards. |