Skip to content

Commit

Permalink
Merge pull request #680 from blueapple128/master
Browse files Browse the repository at this point in the history
fix some build errors and broken symlink
  • Loading branch information
kozec authored Aug 19, 2022
2 parents a3aae2c + 265a612 commit f544bd0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion images/RSTICK.svg
2 changes: 1 addition & 1 deletion scc/drivers/remotepad_controller.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ inline static SCButton libretro_button_to_sc_button(int id) {
case RETRO_DEVICE_ID_JOYPAD_L2: return B_LT;
case RETRO_DEVICE_ID_JOYPAD_R2: return B_RT;
case RETRO_DEVICE_ID_JOYPAD_L3: return B_STICKPRESS;
case RETRO_DEVICE_ID_JOYPAD_R3: return B_RPAD;
case RETRO_DEVICE_ID_JOYPAD_R3: return B_RPADPRESS;
default:
return 0;
}
Expand Down
10 changes: 10 additions & 0 deletions scc/drivers/scc_future.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ typedef enum SCButton {
_SCButton_padding = 0xFFFFFFFF // uint32_t
} SCButton;

struct GyroInput {
GyroValue gpitch;
GyroValue groll;
GyroValue gyaw;
GyroValue q1;
GyroValue q2;
GyroValue q3;
GyroValue q4;
};

struct ControllerInput {
SCButton buttons;
union {
Expand Down

0 comments on commit f544bd0

Please sign in to comment.