# ----------------------------------------------------------------------------
# The stroke bindings
#
# The Stroke bindings work as the mouse bindings, but:
# 1. The first argument defines the stroke motion on a telephone grid:
#
#          1   2   3
#
#          4   5   6
#
#          7   8   9
#
#    Or on a numeric pad grid if the sequence starting with 'N'
#
#          7   8   9
#
#          4   5   6
#
#          1   2   3
#
#   We use the numeric pad grid since we have one on our machine.
#   The 0 sequence defines a single click or very small motions.
#
# 2. The second argument is the mouse button for the old way of
#    handling stroke. A 0 is for the StrokeFunc, the new way to use stroke.
#
# We use mostly simple stroke motion. For complex stroke motions we need
# to consider many sloppy stroke motions for each action.


# Redefine the default bindings
Stroke	0		0 	R	A 	Menu AMenuWinOps
Stroke	0		0	WD	M	Menu AMenuWinOps
Stroke	0		0    123456789	M	Nop

# A | from the top to the bottom
Stroke	N852		0	R	A	FuncFvwmTerminal
Stroke	N852		0	WD	M	FuncFvwmTerminal
Stroke	N852		0    123456789  A       Iconify On

# A | from the bottom to the top
Stroke	N258		0	R	A	FuncFvwmTextEditor
Stroke	N258		0	WD	M	FuncFvwmTextEditor

# A - from the right to the left
Stroke	N654		0	R	A	AFuncStartOrActivateMailer
Stroke	N654		0	WD	M	AFuncStartOrActivateMailer
#Stroke	N654		0    123456789  A       Stick

# # A back and forth - starting from the right
Stroke	N65456		0	R	A	AFuncStartOrActivateIM
Stroke	N65456		0	WD	M	AFuncStartOrActivateIM

# A - from the left to the right
Stroke	N456		0	R	A	AFuncStartOrActivateWebBrowser
Stroke	N456		0	WD	M	AFuncStartOrActivateWebBrowser
#Stroke	N456	0   123456789   A	Prev (AcceptsFocus) WindowListFunc	

# A / from the bottom
Stroke	N159		0	R	A	FuncFvwmImageEditor
Stroke	N159		0	WD	M	FuncFvwmImageEditor

# A / from the top
Stroke	N951		0	R	A	FuncFvwmImageViewer
Stroke	N951		0	WD	M	FuncFvwmImageViewer
