13 from __future__ import division
18 sys.path.append("../")
23 _ICON = "alphabet.png"
28 "CENTER": {"action": "e", "type": "text", "text": "E", },
29 "SOUTH": {"action": "q", "type": "text", "text": "Q", },
30 "EAST": {"action": "w", "type": "text", "text": "W", },
31 "showAllSlices": True,
34 "CENTER": {"action": "t", "type": "text", "text": "T", },
35 "WEST": {"action": "r", "type": "text", "text": "R", },
36 "EAST": {"action": "y", "type": "text", "text": "Y", },
37 "SOUTH": {"action": "u", "type": "text", "text": "U", },
38 "showAllSlices": True,
41 "CENTER": {"action": "i", "type": "text", "text": "I", },
42 "WEST": {"action": "o", "type": "text", "text": "O", },
43 "SOUTH": {"action": "p", "type": "text", "text": "P", },
44 "showAllSlices": True,
47 "CENTER": {"action": "a", "type": "text", "text": "A", },
48 "EAST": {"action": "s", "type": "text", "text": "S", },
49 "showAllSlices": True,
52 "CENTER": {"action": "h", "type": "text", "text": "H", },
53 "WEST": {"action": "d", "type": "text", "text": "D", },
54 "NORTH": {"action": "f", "type": "text", "text": "F", },
55 "EAST": {"action": "g", "type": "text", "text": "G", },
56 "SOUTH": {"action": "j", "type": "text", "text": "J", },
57 "showAllSlices": True,
60 "CENTER": {"action": "l", "type": "text", "text": "L", },
61 "WEST": {"action": "k", "type": "text", "text": "K", },
62 "showAllSlices": True,
65 "CENTER": {"action": "c", "type": "text", "text": "C", },
66 "NORTH": {"action": "z", "type": "text", "text": "Z", },
67 "EAST": {"action": "x", "type": "text", "text": "X", },
68 "showAllSlices": True,
71 "CENTER": {"action": "b", "type": "text", "text": "B", },
72 "NORTH": {"action": "v", "type": "text", "text": "V", },
73 "showAllSlices": True,
76 "CENTER": {"action": "n", "type": "text", "text": "N", },
77 "NORTH_WEST": {"action": "m", "type": "text", "text": "M", },
78 "showAllSlices": True,
82 _ICON_PATH = [os.path.join(os.path.dirname(__file__), "images")]
83 PLUGIN = plugin_utils.PieKeyboardPluginFactory(_NAME, _ICON, _MAP, _ICON_PATH)