wiiclassic

CircuitPython library for the Nintendo Wii Classic Controller

  • Author(s): John Furcean

Implementation Notes

Hardware:

Software and Dependencies:

class wiiclassic.WiiClassic(i2c, address=82)

Class which provides interface to the Nintendo Wii Classic controller.

property button_a

Return current pressed state of the A button

property button_b

Return current pressed state of the B button

property button_home

Return current pressed state of the Home button

property button_select

Return current pressed state of the Select/Minus button

property button_start

Return current pressed state of the Start/Plus button

property button_x

Return current pressed state of the X button

property button_y

Return current pressed state of the Y button

property button_zl

Return current pressed state of the Zl button

property button_zr

Return current pressed state of the Zr button

property dpad_down

Return current pressed state of D-pad down

property dpad_left

Return current pressed state of D-pad left.

property dpad_right

Return current pressed state of D-pad right

property dpad_up

Return current pressed state of D-pad up.

property joystick_left

Return tuple of current left joystick position.

property joystick_right

Return tuple of current right joystick position.

property trigger_left

Return reading left trigger position

property trigger_right

Return reading right trigger position