~ruther/qmk_firmware

ref: 0a94c2951fa3f4f7ca928c0cb5119ec5d7000132 qmk_firmware/lib/usbhost/USB_Host_Shield_2.0/WiiCameraReadme.md -rw-r--r-- 913 bytes
0a94c295 — Logan Butler [Keyboard] matchstickworks/southpad - Move files to rev1, add rev2 (#21574) 1 year, 6 months ago

Please see http://wiibrew.org/wiki/Wiimote#IR_Camera for the complete capabilities of the Wii camera. The IR camera code was written based on the above website and with support from Kristian Lauszus.

This library is large, if you run into memory problems when uploading to the Arduino, disable serial debugging.

To enable the IR camera code, simply set ENABLE_WII_IR_CAMERA to 1 in settings.h.

This library implements the following settings:

  • Report sensitivity mode: 00 00 00 00 00 00 90 00 41 40 00 Suggested by inio (high sensitivity)
  • Data Format: Extended mode (0x03). Full mode is not working yet. The output reports 0x3e and 0x3f need tampering with
    • In this mode the camera outputs x and y coordinates and a size dimension for the 4 brightest points.

Again, read through http://wiibrew.org/wiki/Wiimote#IR_Camera to get an understanding of the camera and its settings.

Do not follow this link