1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-08 20:45:13 +00:00
qb64/internal/c/parts/user_mods
SteveMcNeill e264458841 Patch to SLEEP, _KEYHIT, INP(&H60), _SCREENEXISTS for WINDOWS
Change so that modifer keypresses will only register when the window has
focus in Windows.  This corrects the issue with SLEEP, KEYHIT, and
INP(&H60) registering SHIFT, CTRL, and ALT keypresses even when the
program is not in focus or is running as a background app.

Also changed _SCREENEXISTS (and a few other window user commands) so
that they require windows to have actually registered a windows handle
for the function to return -1, and not just for glut to have finished
initializing the screen itself.
2017-09-23 20:24:19 -04:00
..
include Patch to SLEEP, _KEYHIT, INP(&H60), _SCREENEXISTS for WINDOWS 2017-09-23 20:24:19 -04:00
os (Automated push) Update internal/source/* from qb64.bas 2015-08-02 05:12:44 -07:00
src Patch to SLEEP, _KEYHIT, INP(&H60), _SCREENEXISTS for WINDOWS 2017-09-23 20:24:19 -04:00
src.cpp (Automated push) Update internal/source/* from qb64.bas 2015-08-02 05:12:44 -07:00