Update joy.h
added s16  JOY_writeJoypadX(u16 joy, u16 pos); and s16  JOY_writeJoypadY(u16 joy, u16 pos);
@@ -324,6 +324,21 @@ u16 JOY_readJoypad(u16 joy);
*/
s16 JOY_readJoypadX(u16 joy);
+/**
+ * \brief
+ * Write joypad X axis.
+ *
+ * \param joy
+ * Joypad we query state.<br>
+ * <b>JOY_1</b> = joypad 1<br>
+ * <b>JOY_2</b> = joypad 2<br>
+ * <b>... </b> = ...<br>
+ * <b>JOY_8</b> = joypad 8 (only possible with 2 teamplayers connected)<br>
+ * \param pos
+ * Desired X position for joypad.<br>
+ */
+s16 JOY_writeJoypadX(u16 joy, u16 pos);
+
/**
* \brief
* Get joypad Y axis.
@@ -348,6 +363,21 @@ s16 JOY_readJoypadX(u16 joy);
*/
s16 JOY_readJoypadY(u16 joy);
+/**
+ * \brief
+ * Write joypad Y axis.
+ *
+ * \param joy
+ * Joypad we query state.<br>
+ * <b>JOY_1</b> = joypad 1<br>
+ * <b>JOY_2</b> = joypad 2<br>
+ * <b>... </b> = ...<br>
+ * <b>JOY_8</b> = joypad 8 (only possible with 2 teamplayers connected)<br>
+ * \param pos
+ * Desired Y position for joypad.<br>
+ */
+s16 JOY_writeJoypadY(u16 joy, u16 pos);
+
/**
* \brief
* Wait until a button is pressed on any connected controller.
