diff options
Diffstat (limited to 'py/test.py')
-rwxr-xr-x | py/test.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/py/test.py b/py/test.py deleted file mode 100755 index 9c23b5b..0000000 --- a/py/test.py +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/python3 - -import pykms -from helpers import * - -card = pykms.Card() -res = pykms.ResourceManager(card) -conn = res.reserve_connector() -crtc = res.reserve_crtc(conn) - -mode = conn.get_default_mode() - -fb = pykms.DumbFramebuffer(card, mode.hdisplay, mode.vdisplay, "XR24"); -pykms.draw_test_pattern(fb); - -crtc.set_mode(conn, fb, mode) - -input("press enter to exit\n") |