Code cleanup 2

This commit is contained in:
9and3r
2014-07-26 14:28:41 +02:00
parent 8cd99fa2af
commit f36934f076
7 changed files with 101 additions and 148 deletions

View File

@@ -26,15 +26,11 @@ class Extension(ext.Extension):
def get_config_schema(self):
schema = super(Extension, self).get_config_schema()
schema['screen_width'] = config.Integer()
schema['screen_height'] = config.Integer()
schema['cursor'] = config.Boolean()
# TODO: Comment in and edit, or remove entirely
#schema['username'] = config.String()
#schema['password'] = config.Secret()
schema['screen_width'] = config.Integer()
schema['screen_height'] = config.Integer()
schema['cursor'] = config.Boolean()
return schema
def setup(self, registry):
registry.add('frontend', TouchScreen)
registry.add('backend', TouchScreenBackend)
registry.add('backend', TouchScreenBackend)