I was using the old udev rules to remap my usb foot switch key(the default is the keycode 36 -b :S) to Alt_L. Previosly I created a udev rule and a xmodmap file. But i'm trying the systemd now, and the old style keymaps are gone.
My usb foot switch is the following(lsusb output):
0c45:7403 Microdia Foot Switch
In my old udev files, i had the following content:
/etc/udev/rules.d/95-keymap.rules
"ENV{ID_VENDOR_ID}=="0c45", ENV{ID_MODEL_ID}=="7403", RUN+="keymap $name microdia"
/lib/udev/keymaps/microdia
0x70005 F13
~/.Xmodmap
keycode 191 = Alt_L Meta_L Alt_L Meta_L
So, when I was pulling the switch the effect is that the key 'ALT_L' was pressed. How can i reproduce the same setup with the systemd/udev hwdb?
Thanks in advance.