Maison  >  Article  >  Tutoriel système  >  Comment empêcher les touches Windows, Alt+Tab et Sticky Keys de ruiner votre jeu

Comment empêcher les touches Windows, Alt+Tab et Sticky Keys de ruiner votre jeu

WBOY
WBOYoriginal
2024-06-19 12:58:001179parcourir

Windows est conçu pour une utilisation informatique générale, pas spécifiquement pour les jeux. La touche Windows, Alt+Tab et d'autres raccourcis clavier comme Sticky Keys peuvent vous faire sortir des jeux en plein écran et vous ramener au bureau. Heureusement, il est très simple de les désactiver, afin que vous puissiez profiter de sessions de jeu ininterrompues.

Comment désactiver la clé Windows

Il existe plusieurs méthodes par lesquelles vous pouvez désactiver la clé Windows sur votre PC Windows. Voyons toutes les méthodes en détail :

Utilisation de l'éditeur de registre

L'une des meilleures façons de désactiver la clé Windows sur votre ordinateur consiste à utiliser l'éditeur de registre. Cependant, avant de commencer, il est important de sauvegarder le registre et de créer un point de restauration. Cela garantira que vos données restent en sécurité même si quelque chose ne va pas pendant le processus d'édition.

Cela dit, ouvrez le menu Démarrer, tapez Éditeur du Registre dans la barre de recherche et appuyez sur Entrée.

Dans l'Éditeur du Registre, accédez à l'emplacement suivant :

<code class="hljs ">HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout</code> 

Cliquez avec le bouton droit sur la touche "Disposition du clavier", sélectionnez "Nouveau" et choisissez "Valeur binaire". Ensuite, nommez la valeur « Scancode Map ».

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Faites un clic droit sur la valeur « Scancode Map » et sélectionnez « Modifier ».

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Tapez la valeur suivante dans le champ « Données de valeur » et cliquez sur « OK ».

<code class="hljs xml">00, 00, 00, 00, 00, 00, 00, 0003, 00, 00, 00, 00, 00, 5B, E0,00, 00, 5C, E0, 00, 00, 00, 00</code> 
How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Ensuite, redémarrez votre ordinateur et vous constaterez que la touche Windows ne fonctionne plus. Pour réactiver la clé Windows à l'avenir, supprimez simplement la valeur binaire "Scancode Map" de l'éditeur de registre et la clé Windows recommencera à fonctionner.

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Utilisation de l'éditeur de stratégie de groupe local

Si vous disposez de l'édition Windows Pro ou Enterprise, vous pouvez utiliser l'éditeur de stratégie de groupe local pour désactiver la touche Windows sur votre ordinateur. Pour ce faire, ouvrez l'éditeur de stratégie de groupe local et accédez à l'emplacement suivant :

<code class="hljs xml">User Configuration > Administrative Templates > Windows Components > File Explorer</code> 

Dans le volet de droite, double-cliquez sur la stratégie "Désactiver les raccourcis clavier Windows".

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Sélectionnez « Activé », puis cliquez sur « Appliquer » et « OK ».

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Ensuite, redémarrez votre ordinateur pour voir les modifications. Si vous souhaitez réactiver la touche Windows, vous devrez configurer la stratégie « Désactiver les raccourcis clavier Windows » sur « Désactivé » ou « Non configuré ».

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Utiliser Microsoft PowerToys

Microsoft PowerToys est une application gratuite de Microsoft qui vous permet de désactiver les touches de votre PC Windows. Pour l'utiliser pour désactiver la clé Windows, installez-la d'abord à partir du Microsoft Store, puis ouvrez-la.

Dans la barre latérale gauche, sélectionnez « Gestionnaire de clavier » puis cliquez sur « Remapper une touche » dans le volet de droite.

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Choisissez « Ajouter un remappage de clé ».

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Cliquez sur le bouton "Sélectionner", puis appuyez sur la touche "Windows" de votre clavier. Cliquez sur "OK" après avoir sélectionné la clé.

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Dans le menu déroulant « À envoyer », choisissez « Désactiver ».

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Click "OK" and then select "Continue Anyway" to confirm disabling the Windows key.

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

When you want to start using the Windows key again, simply click the trash icon next to the key.

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Using Your Keyboard Software

If you have a gaming keyboard, it likely has dedicated software that lets you configure how the keys work. Most gaming keyboards also have a gaming mode that, when enabled, disables keys that might interrupt your gaming session, including the Windows key.

For example, if you have an Alienware keyboard, you can use the Fn+F6 key combination to enable gaming mode. If you're unaware of the key combination for your keyboard, check the user manual for more information.

How to Disable the Alt+Tab Shortcut

Pressing Alt+Tab opens the app switcher, which lets you see and switch between different programs running on your computer. However, you might not want to hit this key combination during an intense gaming session because it will minimize your game. You can prevent this from happening by temporarily disabling this shortcut.

Using Microsoft PowerToys

Similar to disabling the Windows key, you can also use Microsoft PowerToys to turn off the Alt+Tab shortcut. To do this, open Microsoft PowerToys, go to "Keyboard Manager," select "Remap a Shortcut," and then click "Add Shortcut Remapping."

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Click the pen icon next to "Shortcut," press the "Alt+Tab" keys together, and click "OK."

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Choose "Disable" from the "Shortcut" dropdown menu under the "To" section.

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Click "OK" to confirm the change.

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

When you're finished gaming on your computer, you can enable this shortcut combination again by clicking the trash can icon next to it.

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Using AutoHotKey

AutoHotkey is a popular third-party tool that helps you manage keyboard shortcuts on your Windows computer. It allows you to disable specific keys or key combinations. To use it to disable the Alt+Tab shortcut, first, download and install AutoHotkey on your computer. Then, right-click anywhere on your desktop, select "New," and then "AutoHotkey Script."

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Give a name to the script file and press Enter.

Right-click on the newly created script file, choose "Open With," and select "Notepad."

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Clear any default text in the Notepad document, paste the following codes and press Ctrl+S to save the changes.

<code class="hljs xml">#=::Return; Disable Alt+Tab!Tab::Return</code> 
How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Go back to your desktop, right-click on the script file again, select "Show More Options," and then choose "Run Script."

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Le raccourci Alt+Tab sera désormais désactivé. Pour le réactiver, cliquez simplement avec le bouton droit sur l'icône AutoHotkey dans la barre d'état système et choisissez "Quitter".

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Comment désactiver les touches collantes

Windows 10 et 11 ont tous deux une bascule dédiée pour les touches collantes dans l'application Paramètres. Vous pouvez utiliser cette bascule pour l'activer ou la désactiver. Pour désactiver Sticky Keys sur Windows 10, ouvrez le menu Paramètres et sélectionnez « Facilité d'accès ».

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Dans la barre latérale gauche, choisissez "Clavier" et désactivez la bascule "Utiliser les touches rémanentes" sur la droite.

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Ensuite, décochez la case "Autoriser la touche de raccourci à démarrer Sticky Keys".

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Pour Windows 11, ouvrez Paramètres, sélectionnez « Accessibilité » sur le côté gauche et désactivez l'interrupteur à bascule pour « Touches collantes » sur la droite.

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Cliquez sur l'option "Sticky Keys" et désactivez le raccourci clavier correspondant.

How to Prevent the Windows Key, Alt+Tab, and Sticky Keys From Ruining Your Gaming

Ça y est ! Vous avez désactivé avec succès Sticky Keys sur votre ordinateur Windows. Pour l'activer à nouveau à l'avenir, réactivez simplement les boutons.


Il s'agissait de savoir comment désactiver certaines touches et raccourcis clavier sur votre ordinateur Windows. Vous pouvez désormais profiter de sessions de jeu ininterrompues sans appuyer accidentellement sur ces touches. Cependant, n'oubliez pas de réactiver ces touches et raccourcis ultérieurement, car les garder désactivés de manière permanente peut perturber votre flux de travail habituel sous Windows.


Ce qui précède est le contenu détaillé de. pour plus d'informations, suivez d'autres articles connexes sur le site Web de PHP en chinois!

Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn