##################################################################
#                                                                #
#  Name: .xkmrc                                                  #
#                                                                #
#  Description: xkeymouse resource file                          #
#                                                                #
#  Author: Henrik Sandklef                                       #
#                                                                #
#  Date: 2003-01-31                                              #
#                                                                #
#  xkeymouse:  http://xneemouse.sourceforge.net                  #
#                                                                #
##################################################################
#
# Basic syntax:
# keycode, modifier, action, action arg, extra parameters...
#
#
#
#  keycode:   a		 // a letter (a-z) or digit (0-9)
#	      keycode=n  // X11 keycode (an integer) (e.g 'a' has keycode 38 on my machine)
#
#
#  modifier:  a + spearated list of the following:
#                none                          // no modifiers at all
#                Shift, Shift_L, Shift_R       // Shift maps to both Shift_L Shift_R
#                Caps_Lock		       // 
#                Control, Control_L, Control_R // Control maps to both Control_L Control_R
#                Alt, Alt_L, Alt_R             // Alt maps to both Alt_L Alt_R
#		 Scroll                        // Scroll_lock key ...
#                AnyModifier                   // Any of the modifiers
#                Mod1Mask                      //  - Read the X documentation for info -
#                Mod2Mask                      //  - E.g Mod1Mask is mapped to Shift_L and Shift_R on my machine ...
#                Mod3Mask                      //  - Use the above modifier names instead .....
#                Mod4Mask                      //  - it is easier .... I promise :)
#                Mod5Mask                      //  - 
#
#
#  action:     any of the following:
#                Button   // fakes a button press/release
#                Motion   // fakes a mouse motion
#		 Exec     // exectues a program
#		 Key	  // fakes a key press release
#  
#
#
#  action arg:   are specific to the action chosen
#    key action arg:
#                nr     // an integer with values from 1 up to ...
#		 a	// a letter a-z
#
#    motion action arg:
#                Up     // moves the pointer upwards
#                Down   // moves the pointer updownwards
#                Left   // moves the pointer left
#                Right  // moves the pointer right
#
#    button action arg:
#		 nr     // nr of button to press/release (defaults to 0.. that is none at all)		 
#
#    exec action arg:
#		 command line to execute (e.g xterm -fg green2 -bg black -sb -sl 1000 -cr green2)  
#
#
#  Extra parameters: are specific to the action chosen.
#    Button extra parameters:
#                NoAutoRepeat (default)
#                AutoRepeat
#                none
#
#    Motion extra parameters:
#                NoAutoRepeat 
#                AutoRepeat (default)
#		 Speed=<x> (default value for x is 1)
#                none
#
#    Exec extra parameters:
#                NoFork
#                Fork (default)
#                NoAutoRepeat
#



#####
#
# Button 
# keycode, modifier,     Button,  nr,   Extra parameters
#
#######################################################
#keycode=38,Control+Alt,  Button,  1,           none
1,        Control+Alt,  Button,  1,           NoAutoRepeat
2,        Control+Alt,  Button,  2,           NoAutoRepeat
3,        Control+Alt,  Button,  3,           NoAutoRepeat

#####
#
# Motion 
# keycode, modifier,     Motion,  Direction,   Extra parameters
#
#######################################################
r,        Control+Shift,      Motion,  Right    ,      Speed=10
l,        Control+Shift,      Motion,  Left     ,      Speed=10
u,        Control+Shift,      Motion,  Up       ,      Speed=10
d,        Control+Shift,      Motion,  Down     ,      Speed=10 
r,        Control+Alt+Shift,  Motion,  Right    ,      Speed=100
l,        Control+Alt+Shift,  Motion,  Left     ,      Speed=100
u,        Control+Alt+Shift,  Motion,  Up       ,      Speed=100
d,        Control+Alt+Shift,  Motion,  Down     ,      Speed=100 


#####
#
# Exec 
# keycode, modifier,     Exec,  Command,          Extra parameters
#
#######################################################
m,        Control+Alt+Shift,  Exec, xmms,  xterm -bg blue,   Fork, AutoRepeat
x,        Control+Alt+Shift,  Exec, xterm -fg green2 -bg black -sb -sl 1000 -cr green2, Fork, NoAutoRepeat


#####
#
# Key   ... not implemented in this version of xkeymouse
# keycode, modifier,     Exec,  Command,          Extra parameters
#
#######################################################
#w,        Mod1Mask,  Exec,  xterm -bg blue,   Fork
