Line 2:
Line 2:
== Data Format ==
== Data Format ==
β
To be determined.
+
Based on the work by Matthew Watts @ https://github.com/mwvent/wii_udraw2arduino2linux
+
+
The following appears to be the data format:
+
+
Byte\Bit 7 6 5 4 3 2 1 0
+
0 <-----------X-Coordinates, lower 8 bits---------------->
+
1 <-----------Y-Coordinates, lower 8 bits---------------->
+
2 (Y Coordinates upper 4 bits)(X Coordinates upper 4 bits)
+
3 <-------------------Tip pressure 8 bits---------------->
+
4 <----------------------Unknown (FF)-------------------->
+
5 1 1 1 1 1 tip=1 Btn1=0 Btn2=0
== Hardware ==
== Hardware ==