Problem is not TBGL_GetWindowKeyOnce. It is working fine.
Problem is that successive turning is fired by
[code=thinbasic]
CASE %ID_TurnRight, %btn_right
RotateTileRight( )
CASE %ID_TurnLeft, %btn_left
RotateTileLeft( )
[/code]
in %WM_COMMAND events
Comment out above line events and R and L keys will work fine.
Still checking ...
Bookmarks