How to Change Pen Button for Right-Click in Windows 11
You can change your Windows 11 pen button to function as a right-click, mimicking mouse behavior for enhanced usability.
This customization allows you to assign the secondary click function, traditionally handled by the right mouse button, to your pen’s physical button.
This makes tasks like opening context menus or accessing shortcut options quicker when using your stylus.
In Windows 11, you can reconfigure your pen’s button in the settings under Bluetooth & devices > Pen & Windows Ink.
To make your pen button act like a right-click in Windows 11, go to Settings, then Bluetooth & devices, and select Pen & Windows Ink. Under Additional pen settings, check the box for “Use the pen button as a right-click equivalent.
Before You Start: Pair Your Pen with 🪟 Windows 11
First, make sure your pen is connected to your device using Bluetooth. If you need help pairing your pen, check out this simple guide: How to Pair a Pen with Windows 11.
What Does the Pen Button Do by Default?
Why would you want to change this? By default, pressing and holding the pen tip acts like right-clicking with a mouse. But you can change what the pen button does. This helps you work the way you want.
How to Make the Pen Button Act Like Right-Click
You can easily change your pen button to act like a right-click in Windows 11 through the Settings app.Advanced: Turn On/Off Pen Button Right-Click Using Windows Registry (Optional)
For those who want more control over their pen button, you can turn the right-click function on or off using the Windows Registry Editor in Windows 11.
- [ADMIN PRIVILEGES REQUIRED] Open the Registry Editor. Press
Windows key + R, typeregedit, and press Enter. - Go to this folder path:
HKEY_CURRENT_USER\Software\Microsoft\Wisp\Pen\SysEventParameters - If you don’t see the SysEventParameters folder, right-click on Pen, choose New > Key, and name it SysEventParameters.
Windows 11 Registry Editor showing SysEventParameters key - Right-click on the right side of the SysEventParameters key. Choose New > DWORD (32-bit) Value. Name it RightMaskEnable.
- Double-click RightMaskEnable. Set the Base to Decimal. Then enter one of these values:
1to enable the pen button right-click0to disable it

Toggle pen button right-click using Registry Editor - Save your changes and restart your computer to make it work.
Summary
Making your pen button act as a right-click in Windows 11 is a simple way to speed up your workflow, and you can easily change this setting in the Settings app or via the Registry Editor.
What happens when done? You can easily turn this on or off in the Settings app without any technical skills. For advanced users, the Registry Editor offers another way to control this feature.
Customize your pen to fit your style and boost your productivity!
Need more info? Check Microsoft’s official guide on changing pen settings: Microsoft.com
How to right click with a Pen?
On the Surface Pen. And then tapping on the screen. And that also activates the right click menu. And there you go it is that easy to do all the different right clicks with your Surface.
How do I change the right click option in 🪟 Windows 11?
You can change the right-click option in Windows 11 to show the legacy context menu by default, which appears when you click ‘Show more options’ or press Shift+F10.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!