Skip to content

Commit da97dd6

Browse files
authored
Merge pull request #64 from sblondon/display-controller-example-improvement
More readable pad values
2 parents 27ac5ae + 9079b66 commit da97dd6

File tree

1 file changed

+2
-2
lines changed
  • _includes/samples/controls

1 file changed

+2
-2
lines changed

_includes/samples/controls/main.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ int main(void)
5252
pspDebugScreenSetXY(0, 2);
5353
sceCtrlReadBufferPositive(&pad, 1);
5454

55-
printf("Analog X = %d, ", pad.Lx);
56-
printf("Analog Y = %d \n", pad.Ly);
55+
printf("Analog X = %3d, ", pad.Lx);
56+
printf("Analog Y = %3d \n", pad.Ly);
5757

5858
if (pad.Buttons != 0)
5959
{

0 commit comments

Comments
 (0)