Preventing lsuper and rsuper events from reaching the OS

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Wist
Prole
Posts: 2
Joined: Wed Sep 12, 2012 7:49 pm

Preventing lsuper and rsuper events from reaching the OS

Post by Wist »

Hello,

I have tried searching for this (and likely just fail at searching), but couldn't quite locate an answer for this.

I want the lsuper and rsuper key press events to not trigger in the OS. (Opening the start menu in Windows for example.) How do I achieve this?

Thank you in advance, and sorry if there is a post describing this already.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Preventing lsuper and rsuper events from reaching the OS

Post by Robin »

I don't think you can do anything here. If the OS intercepts certain key presses or combinations, applications won't even be notified of the event occurring.
Help us help you: attach a .love.
Wist
Prole
Posts: 2
Joined: Wed Sep 12, 2012 7:49 pm

Re: Preventing lsuper and rsuper events from reaching the OS

Post by Wist »

That's unfortunate. I was hoping for a way to keep people from bumping the "Windows Key" and leaving full screen, but I guess I'll settle for auto-pausing on the focus change.

Thanks for your reply.
User avatar
qaisjp
Party member
Posts: 490
Joined: Tue Sep 04, 2012 10:49 am
Location: United Kingdom
Contact:

Re: Preventing lsuper and rsuper events from reaching the OS

Post by qaisjp »

Wist wrote:That's unfortunate. I was hoping for a way to keep people from bumping the "Windows Key" and leaving full screen, but I guess I'll settle for auto-pausing on the focus change.

Thanks for your reply.
I actually use the Windows key to leave full screen, although I do know I can use ALT+TAB, but it's one less key-press.
Lua is not an acronym.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 4 guests