Skip to content

Commit 55b23ec

Browse files
committed
Fix
1 parent fbdb67d commit 55b23ec

File tree

10 files changed

+11
-32
lines changed

10 files changed

+11
-32
lines changed

C++/GetData/GetData/GetData.cpp renamed to C++/GetData/GetData.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ int main()
210210
printf("Controller 1, controllers off\r\n");
211211
}
212212
printf("X=%5.2f, Y=%5.2f, Z=%5.2f, Yaw=%7.2f, Pitch=%7.2f, Roll=%7.2f,\r\n", myController.X, myController.Y, myController.Z, myController.Yaw, myController.Pitch, myController.Roll);
213-
printf("Trigger=%3d, ThumbX=%6d, ThumbY=%6d\r\n", myController.Trigger, myController.ThumbX, myController.ThumbY);
213+
printf("Buttons=%d, Trigger=%3d, ThumbX=%6d, ThumbY=%6d\r\n", myController.Buttons, myController.Trigger, myController.ThumbX, myController.ThumbY);
214214

215215
if ((myController.Buttons & GRIPBTN) || (myController.Buttons & THUMBSTICKBTN) || (myController.Buttons & MENUBTN) || (myController.Buttons & SYSTEMBTN)) {
216216
printf("Buttons pressed: ");
File renamed without changes.
File renamed without changes.

C++/GetData/GetData/stdafx.cpp

Lines changed: 0 additions & 8 deletions
This file was deleted.

C++/GetData/GetData/stdafx.h

Lines changed: 0 additions & 15 deletions
This file was deleted.

C++/GetData/GetData/targetver.h

Lines changed: 0 additions & 8 deletions
This file was deleted.

C++/GetData/stdafx.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "stdafx.h"

C++/GetData/stdafx.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#pragma once
2+
3+
#include "targetver.h"
4+
5+
#include <stdio.h>
6+
#include <tchar.h>

C++/GetData/targetver.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#pragma once
2+
3+
#include <SDKDDKVer.h>

Delphi/Get data/Unit1.dcu

-12.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)