|
@@ -29,30 +29,17 @@ while !shouldClose()
|
|
|
if isButtonDown(BT_DOWN)
|
|
if isButtonDown(BT_DOWN)
|
|
|
y = y + 1
|
|
y = y + 1
|
|
|
end
|
|
end
|
|
|
- if isButtonDown(BT_START)
|
|
|
|
|
- big(100, 80)
|
|
|
|
|
- end
|
|
|
|
|
- if isButtonDown(BT_SELECT)
|
|
|
|
|
- big(100, 90)
|
|
|
|
|
- end
|
|
|
|
|
- if isButtonDown(BT_A)
|
|
|
|
|
- big(100, 100)
|
|
|
|
|
- end
|
|
|
|
|
- if isButtonDown(BT_B)
|
|
|
|
|
- big(100, 110)
|
|
|
|
|
- end
|
|
|
|
|
- if isButtonDown(BT_X)
|
|
|
|
|
- big(100, 120)
|
|
|
|
|
- end
|
|
|
|
|
- if isButtonDown(BT_Y)
|
|
|
|
|
- big(100, 130)
|
|
|
|
|
- end
|
|
|
|
|
- if isButtonDown(BT_L)
|
|
|
|
|
- big(100, 140)
|
|
|
|
|
- end
|
|
|
|
|
- if isButtonDown(BT_R)
|
|
|
|
|
- big(100, 150)
|
|
|
|
|
- end
|
|
|
|
|
|
|
+
|
|
|
|
|
+ white = color(31, 31, 31)
|
|
|
|
|
+ render(0, 0, white, "Start: ", getButtonDownTime(BT_START))
|
|
|
|
|
+ render(0, 8, white, "Select: ", getButtonDownTime(BT_SELECT))
|
|
|
|
|
+ render(0, 16, white, "A: ", getButtonDownTime(BT_A))
|
|
|
|
|
+ render(0, 24, white, "B: ", getButtonDownTime(BT_B))
|
|
|
|
|
+ render(0, 32, white, "X: ", getButtonDownTime(BT_X))
|
|
|
|
|
+ render(0, 40, white, "Y: ", getButtonDownTime(BT_Y))
|
|
|
|
|
+ render(0, 48, white, "L: ", getButtonDownTime(BT_L))
|
|
|
|
|
+ render(0, 56, white, "R: ", getButtonDownTime(BT_R))
|
|
|
|
|
+ render(0, 64, white, "äüößÄÜÖ")
|
|
|
|
|
|
|
|
if x < 0
|
|
if x < 0
|
|
|
x = 0
|
|
x = 0
|
|
@@ -69,10 +56,10 @@ while !shouldClose()
|
|
|
|
|
|
|
|
big(x, y)
|
|
big(x, y)
|
|
|
|
|
|
|
|
- render(0, 0, c, "ABCDEFGHIJKLMNOPQRSTUVWXYZ")
|
|
|
|
|
- render(0, 8, c, "abcdefghijklmnopqrstuvwxyz")
|
|
|
|
|
- render(0, 16, c, "0123456789()[]{}<>/\\?")
|
|
|
|
|
- render(0, 24, c, "\"$%^&*-_=+#~.,;:|")
|
|
|
|
|
|
|
+ #render(0, 0, c, "ABCDEFGHIJKLMNOPQRSTUVWXYZ")
|
|
|
|
|
+ #render(0, 8, c, "abcdefghijklmnopqrstuvwxyz")
|
|
|
|
|
+ #render(0, 16, c, "0123456789()[]{}<>/\\?")
|
|
|
|
|
+ #render(0, 24, c, "\"$%^&*-_=+#~.,;:|")
|
|
|
end
|
|
end
|
|
|
|
|
|
|
|
printLine("stop")
|
|
printLine("stop")
|