# This is an example configuration file for magmakeys

# event_name      value(s)         command

# For key events, a value of 1 is sent by a key being pressed, while releasing it
# yields a value of 0. A key being held down keeps fireing events with a value payload
# of 2.
#
# multiple values can be specified for an event handler by seperting them with a comma.

# (de)activate Bluetooth wenn pressing Fn+F5 on thinkpads
#KEY_RADIO       1       /usr/sbin/toggle-sysfs /sys/bus/platform/devices/thinkpad_acpi/bluetooth_enable

# toggle press-to-select ability of the thinkpad trackpoint
#KEY_F22         1       /usr/sbin/toggle-sysfs /sys/devices/platform/i8042/serio1/press_to_select

# volume control
#KEY_VOLUMEUP    1,2     /usr/bin/amixer set Master 5%+ 
#KEY_VOLUMEDOWN  1,2     /usr/bin/amixer set Master 5%-
#
#KEY_MUTE        1       /usr/bin/amixer set Master toggle

# change volume faster when holding shift
#KEY_LEFTSHIFT+KEY_VOLUMEUP     1       /usr/bin/amixer set Master 20%+
#KEY_LEFTSHIFT+KEY_VOLUMEDOWN   1       /usr/bin/amixer set Master 20%-

# suspend2ram on pressing Fn+F4
#KEY_SLEEP       1       /usr/sbin/hibernate-ram
# trigger access point search after deactivating the radio kill switch
#SW_RFKILL_ALL   1       /sbin/iwconfig ipw ap any
# bring up the WIFI interface (docking eject key/Fn+F9)
#KEY_F24         1       /sbin/ifup ipw

# Shut down the system when pressing the power key
#KEY_POWER      1       /sbin/shutdown -h now
