Code for Chapter 2

Recipes:

	Using the mouse
		e1.kv
		e1.py
	Evolving to the touchscreen
		e2.kv
		e2.py
	Working with the accelerometer
		e3.kv
		e3.py
	Using the gyroscope
		e4.kv
		e4.py
	The Differences between the touch and motion events
		e5.kv
		e5.py
	Recognizing touch shapes
		e6.kv
		e6.py		
	Detecting multitapping
		e7.kv
		e7.py
	Grabbing touch events
		e8.kv
		e8.py	
	Recording gestures
		e9.py