h6. [[Joystick]] h6(. » [[Joystick SWI Calls|SWI Calls]] h6((. » Joystick_Read h2. Joystick_Read h5. (SWI &43F40) |_<^{width:4em}. Entry | | |/4^. R0 |<^. Flags: | |<^. Bits 0-7: Stick number | |<^. Bits 8-15: "Reason code":#reason | |<^. Other bits reserved, should be zero | |_<^{width:3em}. Exit || |\2^. Registers dependent on reason code | h4. Use The purpose of this call is to read the most recent buffered value from the joystick hardware. h4(#reason). Reason Codes |_<^{width:4em}. #|_<^{width:4em}. Hex #|_<^. Action| |<^. 0|<^. &00|<^. [[Joystick_Read 0|Read 8 bit joystick]]| |<^. 1|<^. &01|<^. [[Joystick_Read 1|Read 16 bit joystick]]|