Osu: Disable Windows key during gameplay

Created on 18 Apr 2020  路  7Comments  路  Source: ppy/osu

Describe the new feature:
Just like you can disable mouse keys during gameplay, there should be an option to disable the
Windows key during gameplay. I use the default Z/X keys to play osu! and accidentally press the windows key with my ring finger which results in the Windows start menu being opened and gameplay to be paused. I currently avoid this issue by taking the keycap off of my windows key but it does still sometimes happen.

Proposal designs of the feature:
This is Windows specific, so I think the setting should only be there if you are playing on Windows (if lazer supports platform specific settings). Or maybe this shouldn't even be a setting and rather just always disable the key during gameplay. I don't really see a reason to press the winkey during gameplay. When the gameplay is paused or you are in the menus you should be able to use the winkey normally.

gameplay windows input

All 7 comments

Disabling the Windows key for an application require setting up a keyboard hook at a low level. While it can definitely be done with C#, should it really be resolved by software ?

The overhead for implementing and maintaining this is such that it doesn't makes it worth to implement imo.

Furthermore, most gaming keyboards now boast a gaming mode, which disables the windows key on the hardware.

I agree with @Game4all, disabling such platform-specific key from a game sounds like something it shouldn't handle at all.

This is not something we should be doing, as any solution is going to be very hacky. If you want to disable the Windows key, do it yourself through the registry or buy a gaming keyboard that has a switch that does it.

This has been in stable forever after a large demand for it. Not sure we should throw away the suggestion so quickly.

Ah, I haven't played stable in quite a while, I never even noticed that. Fair enough.

Can be closed with the merge of #9439

I suppose, although it doesn't really work as far as end users are concerned, but that is tracked at #9741.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

elweojus picture elweojus  路  3Comments

LevKatenin picture LevKatenin  路  3Comments

smileyhead picture smileyhead  路  3Comments

GameBoyYeet picture GameBoyYeet  路  3Comments

LanTenDragon picture LanTenDragon  路  3Comments