PixlOne / logiops

An unofficial userspace driver for HID++ Logitech devices
GNU General Public License v3.0
3.42k stars 271 forks source link

KEY_COPY and KEY_PASTE not working... #357

Open QAnders opened 1 year ago

QAnders commented 1 year ago

I am trying to setup a MX Ergo and have it working, but I want to use the Forward/Back buttons for Copy and Paste but I can't get it working...

If I change the buttons to use KEY_C resp. KEY_V I get the letters c and v in a text editor so the mapping of the buttons are correct...

I've tried using various buttons:

Copy:
[ "KEY_COPY" ] // <-- Nothing happens
[ "KEY_LEFTCTRL", "KEY_C" ] // <-- It types a "c"
[ "KEY_LEFTCTRL", "KEY_INSERT" ] // <-- It switches to Insert mode

Paste:
[ "KEY_PASTE" ] // <-- Nothing happens
[ "KEY_LEFTCTRL", "KEY_V" ] // <-- It types a "v"
[ "KEY_LEFTSHIFT", "KEY_INSERT" ] // <-- It switches to Insert mode

Any pointers on what I am missing?

Running Ubuntu 20.04

wnykuang commented 1 year ago

I believe you need to mapping "KEY_COPY" to copy-feature somewhere in your OS/Window enviroment.