bibliopixel.control.serial_gamepad module

class bibliopixel.control.serial_gamepad.CMDTYPE[source]

Bases: object

GET_BTNS = 1
INIT = 0
SET_LEDS = 2
SET_MODE = 4
class bibliopixel.control.serial_gamepad.SerialGamePad(btn_map=('A', 'B', 'SELECT', 'START', 'UP', 'DOWN', 'LEFT', 'RIGHT', 'X', 'Y'), dev='', hardwareID='1B4F:9206')[source]

Bases: bibliopixel.control.gamepad.BaseGamePad

cleanup()[source]
close()[source]
devices = []
static find_serial_devices(hardwareID='1B4F:9206')[source]
getKeys()[source]
setLights(data)[source]
setLightsOff(count)[source]
exception bibliopixel.control.serial_gamepad.SerialPadError[source]

Bases: Exception