keyboard stuff
This commit is contained in:
parent
79f8a3bf1e
commit
28a3da7e52
0
src/fenrir-package/commands/commands/__init__.py
Executable file
0
src/fenrir-package/commands/commands/__init__.py
Executable file
Binary file not shown.
Binary file not shown.
15
src/fenrir-package/commands/commands/curr_line.py
Normal file
15
src/fenrir-package/commands/commands/curr_line.py
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/python
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def run(self, environment):
|
||||
environment['runtime']['speechDriver'].cancel()
|
||||
if environment['screenData']['newContentText'].replace(" ","") == '':
|
||||
environment['runtime']['speechDriver'].speak("empty screen")
|
||||
else:
|
||||
environment['runtime']['speechDriver'].speak(environment['screenData']['newContentText'].split('\n')[environment['screenData']['newCursor']['y']])
|
||||
def setCallback(self, callback):
|
||||
pass
|
||||
def shutdown(self):
|
||||
pass
|
11
src/fenrir-package/commands/commands/shut_up.py
Normal file
11
src/fenrir-package/commands/commands/shut_up.py
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/python
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def run(self, environment):
|
||||
environment['runtime']['speechDriver'].cancel()
|
||||
def setCallback(self, callback):
|
||||
pass
|
||||
def shutdown(self):
|
||||
pass
|
0
src/fenrir-package/commands/onInput/__init__.py
Executable file
0
src/fenrir-package/commands/onInput/__init__.py
Executable file
0
src/fenrir-package/commands/onScreenChanged/__init__.py
Executable file
0
src/fenrir-package/commands/onScreenChanged/__init__.py
Executable file
Loading…
Reference in New Issue
Block a user