fenrir/src/fenrirscreenreader/inputDriver/ptyDriver.py

19 lines
529 B
Python
Raw Normal View History

2018-03-25 17:07:57 -04:00
#!/bin/python
# -*- coding: utf-8 -*-
# Fenrir TTY screen reader
# By Chrys, Storm Dragon, and contributers.
import time
from fenrirscreenreader.core import debug
from fenrirscreenreader.core.inputDriver import inputDriver
class driver(inputDriver):
def __init__(self):
2018-05-22 12:56:46 -04:00
self._isInitialized = False
2018-03-25 17:07:57 -04:00
inputDriver.__init__(self)
2018-03-26 02:55:26 -04:00
def initialize(self, environment):
self.env = environment
self.env['runtime']['inputManager'].setShortcutType('BYTE')
self._isInitialized = True