################################################## #########
# !!!!!!!!!!!!!!!READ ME FIRST!!!!!!!!!!!!!!!!!!!
################################################## #########
# This file was used to configure btnx's behavior.
# Lines are commented with # characters.
#
# Basic structure of a button configuration for sending
# keyboard and button events
# -------------------------------------------------------
# Button
# keycode = KEY
# mod1 = KEY
# mod2 = KEY
# mod3 = KEY
# EndButton
#
#
# -------------------------------------------------------
# The configuration field for a button was started by
# a "Button" line and closed by an "EndButton" line.
# The mod[1..3] fields are optional. The fields have the
# following meanings:
#
# mod[1..3]: these are modifier key values. Examples are
# shift (KEY_LEFTSHIFT, KEY_RIGHTSHIFT), ctrl (KEY_LEFTCTRL, ...),
# alt, etc. You can combine up to three modifier keys together with
# a keycode. You can even combine them with mouse button events.
# You do not have to specify any mod keys if you don't need to.
#-----------------------------------------------------------
#-----------------------------------------------------------
# Left mouse button
# NOTE: This is commented out because you probably don't want
# to send extra events when pressing this button!
#Button
#name = Left button
#keycode = KEY_UNKNOWN
#EndButton
# Right mouse button
# NOTE: This is commented out because you probably don't want
# to send extra events when pressing this button!
#Button
#name = Right button
#keycode = KEY_UNKNOWN
#EndButton
# Top wheel scroll down
# NOTE: This is commented out because you probably don't want
# to send extra events when pressing this button!
#Button
#name = Top wheel scroll down
#keycode = KEY_UNKNOWN
#EndButton
# Top wheel scroll up
# NOTE: This is commented out because you probably don't want
# to send extra events when pressing this button!
#Button
#name = Top wheel scroll up
#keycode = KEY_UNKNOWN
#EndButton
#-----------------------------------------------------------
# These buttons were configured for the MX Revolution mouse.
#-----------------------------------------------------------
# Thumb wheel forward.
# Does a Ctrl+Alt+Left, useful for switching workspaces.
Button
name = Thumb wheel forward
keycode = KEY_LEFT
mod1 = KEY_LEFTCTRL
mod2 = KEY_LEFTALT
EndButton
# Thumb wheel back.
# Does a Ctrl+Alt+Right, useful for switching workspaces.
Button
name = Thumb wheel back
keycode = KEY_RIGHT
mod1 = KEY_LEFTCTRL
mod2 = KEY_LEFTALT
EndButton
# Thumb wheel press.
# Does an Alt+LeftMouseButton. Useful for dragging windows.
Button
name = Thumb wheel press
keycode = BTN_LEFT
mod1 = KEY_LEFTALT
EndButton
# Thumb button back.
# Does a Ctrl+PageDown. Useful for moving through tabs
# (Firefox, gnome-terminal, etc.)
Button
name = Thumb button back
keycode = KEY_PAGEDOWN
mod1 = KEY_LEFTCTRL
EndButton
# Thumb button forward.
# Does a Ctrl+PageUp. Useful for moving through tabs
# (Firefox, gnome-terminal, etc.)
Button
name = Thumb button forward
keycode = KEY_PAGEUP
mod1 = KEY_LEFTCTRL
EndButton
# Search key.
# Simulates a mouse-wheel click.
Button
name = Search key
keycode = BTN_MIDDLE
EndButton
# Top wheel right.
# Does an Alt+Right. Ex. Firefox forward
Button
name = Top wheel right
keycode = KEY_RIGHT
mod1 = KEY_LEFTALT
EndButton
# Top wheel left.
# Does an Alt+Left. Ex. Firefox back
Button
name = Top wheel left
keycode = KEY_LEFT
mod1 = KEY_LEFTALT
EndButton
=============================================
Buttons from other default configurations
=============================================
# Play/pause button
# Sends a play/pause key event.
Button
name = Play/pause
keycode = KEY_PLAYPAUSE
EndButton
# Volume up button
# Sends a volume up key event
Button
name = Volume up
keycode = KEY_VOLUMEUP
EndButton
# Volume down button
# Sends a volume down key event
Button
name = Volume down
keycode = KEY_VOLUMEDOWN
EndButton
# Search key.
Button
name = Search key
keycode = KEY_F5
EndButton
=================================================
Default keys from the MX610 with additional notes
=================================================
# Volume up button
# Sends a volume up key event
# NOTE: This is commented out. I didn't need to send this event as kmilo grabs it
#Button
#name = VolumeUp
#keycode = KEY_VOLUMEUP
#EndButton
# Volume down button
# Sends a volume down key event
# NOTE: This is commented out. I didn't need to send this event as kmilo grabs it
#Button
#name = VolumeDown
#keycode = KEY_VOLUMEDOWN
#EndButton
# Volume mute button
# Sends a volume mute key event
# NOTE: This is commented out. I didn't need to send this event as kmilo grabs it
#Button
#name = VolumeMute
#keycode = KEY_MUTE
#EndButton
# Media forward button
# Does a PLAYPause, useful for Amarok
Button
name = Messenger
keycode = KEY_PLAYPAUSE
EndButton
# Media back button
# Does a XF86Mail, opens KMail compose
Button
name = Email
keycode = KEY_MAIL
EndButton
# Browser forward button
# Does an XF86Forward. Ex. Konqueror forward
Button
name = Browser forward
keycode = KEY_FORWARD
EndButton
# Browser back button
# Does an XF86Back. Ex. Konqueror back
Button
name = Browser back
keycode = KEY_BACK
EndButton
# Wheel tilt right
# Useful for Amarok
Button
name = Wheel right
keycode = KEY_NEXTSONG
EndButton
# Wheel tilt left.
# Useful for Amarok
Button
name = Wheel left
keycode = KEY_PREVIOUSSONG
EndButton
Bookmarks