Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix some build errors and broken symlink #680

Merged
merged 1 commit into from
Aug 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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