Windows 10 gained a new pen settings panel with the Anniversary Update. If your device has a pen or another type of stylus, you can customize exactly how it works and what its buttons do from the Settings window.
This previously required device-specific apps like the Microsoft Surface app for configuring the Surface Pen on Surface devices. The Microsoft Surface app still allows you to adjust a Surface Pen’s pressure sensitivity, and other device-specific tools may still have additional settings. But most common options are now built into Windows.