hello,
sorry, i forget to reply to this mail earlier.
maybe it's to late, but : I just have a 1 commment about 'esc' and exiting fullscreen.
I know that it's frustrating to have the gemwin fullscreen without any solution to close it. this is why i don't use gemwin, but an abstraction composed with gemwin and gemkeyname / select escape / destroy
yes, pressing 'esc' is standard for game to exit fullscreen mode, but it is not standard for interactive installation (where the gem windows should not be destroy). i think gem is more used for interactive instalation than for game developement...
another exemple : imagine that you press the esc key during a performance while trying to find the F1 key. it's scarry for me to have such feature.
i think it really would be nice if the 'esc' -> exit feature is not coded inside gem, but inside user patch (like i curently do).
so, please : do not code the esc to exit fullscreen.
thanks Cyrille
james tittle a écrit :
hey,
...well, it had to happen sometime! I've finally come around to a need for a 'kiosk'-like presentation via gem, on a single monitor/ touchscreen...we've been a bit conservative in allowing this, because without the proper foresight/design, it's incredibly easy to lock yourself out of the computer, and thereby require a hard restart :-)
...so, I'm going to go ahead and make it possible in a coupla different ways, but I also want to have an easy way to get out of it...basically, I'm talking about taking over the escape key, such that whenever we're in fullscreen or fullscreen-windowed mode, hitting the escape button will destroy the window...there is a caveat: this will only always work in my pd++.app (or derivations thereof), because keyboard input in gem is dependent on the gem window being front "focused"...
...I think the best way to do this is two pronged:
- a "fullscreen 1" message will capture the main device, hiding the
dock/menubar/option-tab application selector...it'll also always cause the window to be "focused", so 'esc' will always work...plus, in this state we control the VRAM, so we can manage that better...
- creating a window the size of the screen without a fullscreen
message, and without an offset to another device, would also cover the screen, and either automatically turn off the dock/menubar/option- tab-selector, or do so by another message
...does this sound ok? I think using 'esc' for exiting fullscreen is pretty standard in the gaming world and so would be an easy fit here...In any event, I'll be doing it this weekend...
jamie
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev