tpkb
tpkb copied to clipboard
Changing middle button mode will make scrolling in vscode with trackpad very slow
Thank you for your amazing tool. I don't know are you still maintaining this project.
I found it will make scrolling in vscode with trackpad slower than normal.
Only in vscode. Scrolling in browser is ok.
When I close trackpoint keyboard, scrolling back to normal. When I reopen keyboard and sudo tpkb, scrolling with trackpad is slow.
I've switched to the ThinkPad Keyboard II, which handles FnLock by hardware.
This tool is 'disabling native mode for middle button'. Comment out this part for 'enabling native mode (default)' and recompile.
// Middle button
buf[0] = 0x18;
buf[1] = 0x09;
buf[2] = 0x00;
hid_write(dev, buf, 3);