joystick-demo: missing iota

db4
Joe Groff 2010-05-02 01:25:46 -07:00
parent 719a7d6ffd
commit 338c568478
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ TUPLE: joystick-demo-gadget < pack axis raxis controller buttons alarm ;
<axis-gadget> [ >>raxis ] [ add-gadget-with-border ] bi-curry bi* ;
:: (add-button-gadgets) ( gadget shelf -- )
gadget controller>> read-controller buttons>> length [
gadget controller>> read-controller buttons>> length iota [
number>string [ drop ] <border-button>
shelf over add-gadget drop
] map gadget (>>buttons) ;