// Sample OSC Script for Wiimote // by Ozan SARIER www.ozansarier.com // Destination IP var.host = "localhost" // Destination Port var.port = 9999 // SendOsc (destinationip, destination port, "/oscadress", variable, ...) SendOsc(var.host, var.port, "/wii", float(var.1), float(var.2), float(var.3), ... float(var.4), float(var.5), float(var.6), float(var.7), float(var.8) ) // Wiimote mappet to sent variables. var.1 = wiimote.A var.2 = wiimote.B var.3 = wiimote.1 var.4 = wiimote.2 var.5 = wiimote.gx var.6 = wiimote.gy var.7 = wiimote.gz var.8 = wiimote.roll