Bump to 1.0.6
[ejpi] / src / plugins / entry.py
1 from __future__ import division
2
3 import os
4
5 import sys
6 sys.path.append("../")
7 import plugin_utils
8
9
10 _NAME = "Entry"
11 _ICON = "newline.png"
12 _MAP = {
13         "name": _NAME,
14         "keys": {
15                 (0, 0): {
16                         "CENTER": {"action": "[push]", "type": "image", "path": "newline.png", },
17                         "NORTH": {"action": "[unpush]", "type": "text", "text": "Undo", },
18                         "NORTH_WEST": {"action": "[clear]", "type": "image", "path": "clear.png", },
19                         "WEST": {"action": "[backspace]", "type": "image", "path": "backspace.png", },
20                         "showAllSlices": False,
21                 },
22         },
23 }
24 _ICON_PATH = [os.path.join(os.path.dirname(__file__), "images")]
25 PLUGIN = plugin_utils.PieKeyboardPluginFactory(_NAME, _ICON, _MAP, _ICON_PATH)