Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of PS4 by
Diff: PS3.cpp
- Revision:
 - 1:fc787b4b6caf
 - Parent:
 - 0:51d821ea634c
 - Child:
 - 2:a2371f4c6fe8
 
--- a/PS3.cpp	Wed Aug 09 01:04:21 2017 +0000
+++ b/PS3.cpp	Tue Aug 22 01:10:33 2017 +0000
@@ -34,7 +34,7 @@
         DATA_CONTROLLER[SELECT] = (data[1] >> 5) & 0x01;
         DATA_CONTROLLER[START] = (data[1] >> 4) & 0x01;
         DATA_CONTROLLER[L3] = (data[1] >> 3) & 0x01;
-        DATA_CONTROLLER[L3] = (data[1] >> 2) & 0x01;
+        DATA_CONTROLLER[R3] = (data[1] >> 2) & 0x01;
         DATA_CONTROLLER[LeftHatX] = data[2];
         DATA_CONTROLLER[LeftHatY] = data[3];
         DATA_CONTROLLER[RightHatX] = data[4];
    