diff --git a/extra/joystick-demo/joystick-demo.factor b/extra/joystick-demo/joystick-demo.factor index 05440c8ae4..63814dfbf8 100644 --- a/extra/joystick-demo/joystick-demo.factor +++ b/extra/joystick-demo/joystick-demo.factor @@ -88,7 +88,7 @@ TUPLE: joystick-demo-gadget < pack axis raxis controller buttons alarm ; [ >>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 ] shelf over add-gadget drop ] map gadget (>>buttons) ;