61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
if (++i == 5) {
[OFStdOut writeString: @"\n"];
i = 0;
} else
[OFStdOut writeString: @" "];
}
[OFStdOut writeString: @"\n"];
for (i = 0; i < controller.numAnalogSticks; i++) {
OFPoint position = [controller
positionOfAnalogStickWithIndex: i];
[OFStdOut writeFormat: @"(%5.2f, %5.2f) ",
position.x, position.y];
|
>
|
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
if (++i == 5) {
[OFStdOut writeString: @"\n"];
i = 0;
} else
[OFStdOut writeString: @" "];
}
[OFStdOut setForegroundColor: [OFColor gray]];
[OFStdOut writeString: @"\n"];
for (i = 0; i < controller.numAnalogSticks; i++) {
OFPoint position = [controller
positionOfAnalogStickWithIndex: i];
[OFStdOut writeFormat: @"(%5.2f, %5.2f) ",
position.x, position.y];
|