diff --git a/TODO b/TODO index 779616b0..42e1d9ec 100644 --- a/TODO +++ b/TODO @@ -2,6 +2,7 @@ ToDos in Priority order: - Known Bugs gstreamer sounddriver doesnt work (i think it needs a Glib + next word wrapping sometimes skips a word on beginn of line - try to consume shortcuts grab keyboard exclusive [x] @@ -22,6 +23,12 @@ ToDos in Priority order: - implement commands attributes_curr_char toggle_highlighted_mode + generic list command (convert clipboard management) + next item + pref item + curr item + first item + last item - implement onScreenChange commands read highlighted text mode @@ -41,7 +48,8 @@ https://wiki.gnome.org/Attic/LSR/ScratchPad/Braille/BrlAPI - menue for settings configuration #storm - translateable -- implement speechdriver generic (say) +- implement speechdriver generic +- implement sounddriver generic (use current sox and make it configurable) -------------DONE-------------------------------- - move from VCS to VCSA and parese the Attributes http://linux.die.net/man/4/vcsa diff --git a/config/keyboard/test.conf b/config/keyboard/test.conf index 9c8df0b4..2d22e33b 100644 --- a/config/keyboard/test.conf +++ b/config/keyboard/test.conf @@ -1,6 +1,7 @@ 1-KEY_LEFTCTRL=shut_up 1-FENRIR,1-KEY_RIGHTCTRL=shut_up -#=review_top +1-FENRIR,1-KEY_KPENTER=review_bottom +1-FENRIR,1-KEY_KPPLUS=review_top 1-FENRIR,1-KEY_KP8=curr_line 1-FENRIR,1-KEY_KP7=prev_line 1-FENRIR,1-KEY_KP9=next_line diff --git a/src/fenrir-package/commands/commands/review_bottom.py b/src/fenrir-package/commands/commands/review_bottom.py new file mode 100644 index 00000000..f03a70ef --- /dev/null +++ b/src/fenrir-package/commands/commands/review_bottom.py @@ -0,0 +1,13 @@ +#!/bin/python + +class command(): + def __init__(self): + pass + def run(self, environment): + environment['screenData']['newCursorReview'] = { 'x': 0, 'y':environment['screenData']['lines']} + environment['runtime']['outputManager'].presentText(environment, "Bottom", interrupt=True) + return environment + def setCallback(self, callback): + pass + def shutdown(self): + pass