tpkb icon indicating copy to clipboard operation
tpkb copied to clipboard

Changing middle button mode will make scrolling in vscode with trackpad very slow

Open so2liu opened this issue 2 years ago • 1 comments

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.

so2liu avatar Jul 21 '22 13:07 so2liu

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);

unknownzerx avatar Jul 22 '22 02:07 unknownzerx