1. firefly
  2. dotfiles

Source

dotfiles / other / X11 / xorg.conf.d / 10-evdev.conf

#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
       #Option "XkbSymbols" "pc+se-ff+inet(evdev)+ctrl(swapcaps)"
        Option "XkbCompat" "firefly"
        Option "XkbLayout"  "se-ff"
       #Option "XkbOptions" "ctrl:nocaps"
       #Option "XkbOptions" "ctrl:swapcaps"
       #Option "XkbOptions" "se-ff:tweaks"
       #Option "XkbOptions" "caps:escape"
       #Option "XkbOptions" "caps:ctrl_modifier"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection