Joystick position: Difference between revisions

Content added Content deleted
(→‎Tcl: Added implementation)
m (→‎{{header|Tcl}}: notes for the truly interested…)
Line 276: Line 276:
.c create line {115 120 125 120} -tags xhairH
.c create line {115 120 125 120} -tags xhairH
joystick event eval {display [joystick event peek]}</lang>
joystick event eval {display [joystick event peek]}</lang>
<!-- I think it can also be done with Tcl3d as that has SDL Joystick bindings, but damned if I can figure out the API in a reasonable amount of effort. It's definitely not Tclish (but what would you expect with something mashed together with SWIG? Once a stinky C API, always a stinky C API…) -->


{{omit from|AWK}}
{{omit from|AWK}}