CircuitPython/gamepad.py

changeset 7
e336d6afc5a6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CircuitPython/gamepad.py	Thu Aug 29 19:05:05 2019 +0200
@@ -0,0 +1,19 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
+#
+
+"""
+Module containing stubs for API generation of the 'gamepad' module.
+"""
+
+class GamePad():
+    def __init__(self, b1=None, b2=None, b3=None, b4=None, b5=None, b6=None,
+                 b7=None, b8=None):
+        pass
+    
+    def get_pressed(self):
+        pass
+    
+    def deinit(self):
+        pass

eric ide

mercurial