Skip to content

Commit ffefd0d

Browse files
committed
0.0.2
1 parent 085e5ae commit ffefd0d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=NintendoControllersSTM32
2-
version=0.0.1
2+
version=0.0.2
33
author=Alexander Pruss
44
maintainer=arpruss <[email protected]>
55
sentence=Support Nunchuck, GameCube controller and Game Port joysticks on STM32F1

src/gameport.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ bool GamePortController::read(GameControllerData_t* data) {
6969
data->joystickX = x >= 0 ? x : 512;
7070
data->joystickY = y >= 0 ? y : 512;
7171
data->cX = rz >= 0 ? rz : 512;
72+
data->cY = 512;
7273
data->shoulderRight = s >= 0 ? 1023-s : 0;
7374
}
7475
else {

0 commit comments

Comments
 (0)