Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard Fixes #747

Merged
merged 2 commits into from
Jun 8, 2014
Merged

Keyboard Fixes #747

merged 2 commits into from
Jun 8, 2014

Conversation

RobertBColton
Copy link
Contributor

Implements keyboard_key and also fixes keyboard_lastkey so that they both behave the same as GM8.1, also tested multiple keyboard key combinations and releases to ensure the behavior is implemented properly. Also fixed for XLIB.

Tested on Win32 and XLIB (Ubuntu) with the following code in an object's draw event. I can confirm the changes work on both systems and behave the same as GM as expected now.

draw_text(0,0,string(keyboard_key) + ":" + string(keyboard_lastkey));

This pull request can be merged.

Note: Ignore the window_center commit, nothing was actually changed yet, I did it then undid it. Waiting to have a further discussion on the forums regarding removing the child window.

GM centers using the unscaled region dimensions to center the window so
that window_default or window_center will work in fullscreen mode making
the window centered if the user returns to windowed mode. Tested and
confirmed on GM8.1
Also fixes keyboard_lastkey so that they both behave the same as GM8.1,
also tested multiple keyboard key combinations and releases to ensure the
behavior is implemented properly. Also fixed for XLIB.
TheExDeus added a commit that referenced this pull request Jun 8, 2014
@TheExDeus TheExDeus merged commit b915631 into enigma-dev:master Jun 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants