From 9c03755ca599c2561c8b6693340a74edde2e3384 Mon Sep 17 00:00:00 2001 From: mcgurk Date: Sun, 9 Oct 2016 20:22:24 +0300 Subject: [PATCH] Update RetroJoystickAdapter_Playstation.ino --- RetroJoystickAdapter_Playstation.ino | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/RetroJoystickAdapter_Playstation.ino b/RetroJoystickAdapter_Playstation.ino index dffa2bd..eeb7232 100644 --- a/RetroJoystickAdapter_Playstation.ino +++ b/RetroJoystickAdapter_Playstation.ino @@ -87,12 +87,12 @@ class Joystick_ { private: uint8_t joystickId; uint8_t reportId; - int8_t olddata[JOYSTICK_STATE_SIZE]; - int8_t flag; + uint8_t olddata[JOYSTICK_STATE_SIZE]; + uint8_t flag; public: - int8_t type; - int8_t data[JOYSTICK_STATE_SIZE]; + uint8_t type; + uint8_t data[JOYSTICK_STATE_SIZE]; Joystick_(uint8_t initJoystickId, uint8_t initReportId) { // Setup HID report structure