mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-01-12 21:30:07 +00:00
Support fullscreen mode with GLUT/Linux
This commit is contained in:
parent
09eb430ac5
commit
96c7544feb
@ -157,6 +157,9 @@ void gldriver_on_key_up(unsigned char key, int x, int y) {
|
||||
void gldriver_on_key_special_down(int key, int x, int y) {
|
||||
_capslock_hackaround();
|
||||
int scancode = _glutkey_to_scancode(key);
|
||||
if (scancode == SCODE_F11) {
|
||||
glutFullScreenToggle();
|
||||
}
|
||||
//LOG("onKeySpecialDown %08x(%d) -> %02X(%d)", key, key, scancode, scancode);
|
||||
c_keys_handle_input(scancode, 1, 0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user