To make Fenrir easier to approach for new developer, start code migration to be pep8 compliant.
This commit is contained in:
@ -5,20 +5,26 @@
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
|
||||
from fenrirscreenreader.core.i18n import _
|
||||
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
self.keyMakro = [[1, 'KEY_LEFTCTRL'], [1, 'KEY_G'], [0.05,'sleep'] ,[0, 'KEY_G'], [0, 'KEY_LEFTCTRL']]
|
||||
self.keyMakro = [[1, 'KEY_LEFTCTRL'], [1, 'KEY_G'], [
|
||||
0.05, 'sleep'], [0, 'KEY_G'], [0, 'KEY_LEFTCTRL']]
|
||||
|
||||
def shutdown(self):
|
||||
pass
|
||||
|
||||
def getDescription(self):
|
||||
return 'No description found'
|
||||
return 'No description found'
|
||||
|
||||
def run(self):
|
||||
self.env['runtime']['inputManager'].sendKeys(self.keyMakro)
|
||||
|
||||
def setCallback(self, callback):
|
||||
pass
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user