When plugging in a ThinkPad Compact Keyboard while Visual Studio is running, you may find that the middle TrackPoint (
mouse) button scroll stops working with a small delay. The scrolling will continue to work fine however, as long as you don’t open Visual Studio.
I discovered in the Windows Event Viewer, that a few errors were being thrown.
- Open ‘Windows Event Viewer’.
- Expand the ‘Windows Logs’ folder in the navigation pane.
- Open ‘Application’.
- Look for the error around the time the scrolling functionality stopped working.
You will find something like this:
Faulting application name: HScrollFun.exe, version: 188.8.131.52, time stamp: 0x58ec7b76
Faulting module name: HScrollFun.exe, version: 184.108.40.206, time stamp: 0x58ec7b76
Exception code: 0xc0000409
Fault offset: 0x00005caa
Faulting process id: 0x2e50
Faulting application start time: 0x01d4a7edba25b0ad
Faulting application path: C:\Program Files (x86)\Lenovo\ThinkPad Compact Keyboard with TrackPoint driver\HScrollFun.exe
Faulting module path: C:\Program Files (x86)\Lenovo\ThinkPad Compact Keyboard with TrackPoint driver\HScrollFun.exe
Report Id: 6e0117e8-327d-41c7-bb7c-0c07a80ff0db
Faulting package full name:
Faulting package-relative application ID:
Now we know what is going on. But we still don’t know what is causing it. So I turned to Google, what any nerd would do. With the right keywords, you can do anything.
Eventually I figured out the solution:
- Open the ‘Mouse Properties‘ window.
- Navigate to the ‘External Keyboard‘ tab.
- Uncheck ‘ThinkPad Preferred Scrolling‘.
- Hit ‘Apply‘.