keyd icon indicating copy to clipboard operation
keyd copied to clipboard

map not working

Open vinaooo opened this issue 2 years ago • 3 comments

Hi, I'm new with keyd, and I'm using a Satechi keyboard, a very good Apple like keyboard, including the behavior of the f1, f2, f3 keys... for example, by default the F1 key represents Brightnessdown and to access f1 I need to press fn+f1

default output of 'sudo keyd monitor' for f1 is brightnessdown the default output of 'sudo keyd monitor' for fn+f1 is f1

So I created this default.conf:

[ids]
*

[main]

brightnessdown = f1

But it's not working, I'm doing anything wrong?

ps.: this test works: a=b

sudo keyd monitor
device added: 0fac:1ade keyd virtual pointer (/dev/input/event20)
device added: 0fac:0ade keyd virtual keyboard (/dev/input/event19)
device added: 1c4f:0043 Satechi ST-UCSW3M Consumer Control (/dev/input/event4)
device added: 1c4f:0043 Satechi ST-UCSW3M (/dev/input/event3)
device added: 30fa:0400 USB OPTICAL MOUSE  (/dev/input/event2)
keyd virtual keyboard	0fac:0ade	enter up
Satechi ST-UCSW3M Consumer Control	1c4f:0043	brightnessdown down
Satechi ST-UCSW3M Consumer Control	1c4f:0043	brightnessdown up
keyd virtual keyboard	0fac:0ade	f1 down
keyd virtual keyboard	0fac:0ade	f1 up
keyd virtual keyboard	0fac:0ade	leftcontrol down

vinaooo avatar Sep 10 '23 13:09 vinaooo

This is a bit off the direct issue, but what about Fn + Esc? image

https://support.satechi.com/hc/en-us/articles/360059139252-Quick-Guide-and-Instructional-Manual-

Even if that works, do you have to do it every time after OS startup?

tkna91 avatar Sep 10 '23 21:09 tkna91

fn+esc doesn't work after reboot, so I thought about remapping the keys and keyd seemed like the best option, but then I ran into this problem

vinaooo avatar Sep 11 '23 14:09 vinaooo

Following #601, can you explicitly put the device ID in your config? ie:

[ids]
1c4f:0043

[main]
brightnessdown = f1

nsbgn avatar Oct 25 '23 08:10 nsbgn

Closing due to inactivity.

rvaiya avatar May 04 '24 00:05 rvaiya