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

Bring back Modular PADEMU by @belek666 #1008

Draft
wants to merge 44 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
eed8a56
Create Clang-PR.yml
israpps Dec 9, 2022
3621454
Merge branch 'ps2homebrew:master' into master
israpps Jan 9, 2023
111099e
Merge branch 'ps2homebrew:master' into master
israpps Mar 7, 2023
7476010
Merge branch 'ps2homebrew:master' into master
israpps Apr 4, 2023
c9ad882
Merge branch 'ps2homebrew:master' into master
israpps Apr 13, 2023
60a9096
Merge branch 'ps2homebrew:master' into master
israpps Apr 19, 2023
768c197
Merge branch 'ps2homebrew:master' into master
israpps Jun 3, 2023
d7a7075
Merge branch 'ps2homebrew:master' into master
israpps Jun 21, 2023
cd69672
Modular pademu, prototypes of xbox modules and hid joystick module
belek666 May 24, 2020
52ec95a
Fixed the screwed analog inputs in the xbox360usb module
RoloDeOvo Sep 19, 2020
a81912f
Added compatibility list.
RoloDeOvo Sep 19, 2020
cc43437
Deleted current compatibilty list for poor formatting.
RoloDeOvo Sep 19, 2020
7f87f8a
Added a better compatibility list.
RoloDeOvo Sep 19, 2020
db7f2a4
Compatibility list updated. Crazy Taxi confirmed to work
RoloDeOvo Sep 19, 2020
ebf5017
Megaman X Collection confirmed to work with PADEMU
RoloDeOvo Sep 19, 2020
f45088c
Klonoa 2 works with PADEMU but it will infinite load sometimes.
RoloDeOvo Sep 19, 2020
32af273
Jak and Daxter doesn't work with PADEMU
RoloDeOvo Sep 19, 2020
17235cb
Update COMPATIBILITY.md
RoloDeOvo Sep 19, 2020
fb58055
Update COMPATIBILITY.md
RoloDeOvo Sep 19, 2020
8104443
Nights Into Dreams confirmed to work with Xbox PADEMU
RoloDeOvo Sep 23, 2020
dc65962
Alien Hominid works with Xbox PADEMU
RoloDeOvo Sep 23, 2020
b52c341
3 more games confirmed to work with Xbox PADEMU
RoloDeOvo Oct 5, 2020
10ca0d7
RaC 2 confirmed to work with Xbox PADEMU
RoloDeOvo Oct 5, 2020
cbe0ca1
Added some info
RoloDeOvo Oct 5, 2020
8de0446
Update COMPATIBILITY.md
RoloDeOvo Oct 5, 2020
d6e8a90
Red Faction confirmed to work with Xbox PADEMU
RoloDeOvo Oct 5, 2020
c7715e6
THPS4 works with Xbox PADEMU.
RoloDeOvo Oct 5, 2020
7541275
Warriors Orochi 2 works with Xbox PADEMU.
RoloDeOvo Oct 5, 2020
9c93c20
Burnout 2 works with Xbox PADEMU.
RoloDeOvo Oct 5, 2020
3deae19
Sonic Mega Collection Plus works with Xbox PADEMU.
RoloDeOvo Oct 5, 2020
29c8f50
Jak II confirmed to work with Xbox PADEMU
RoloDeOvo Oct 6, 2020
e10b56f
Added devices to compatibility list.
RoloDeOvo Oct 21, 2020
3f901c6
Delete compatibility list from master branch
RoloDeOvo Oct 21, 2020
1ec6e09
clang format
belek666 Oct 23, 2020
6185363
first crude success on getting it compiling...
israpps Jun 23, 2023
5a742cd
rectify `IRX_ID`, printf and `MODNAME` macros
israpps Jun 23, 2023
1296264
Update xboxoneusb.c
israpps Jun 26, 2023
74a6cca
represent pademu modules ID as macros
israpps Jun 26, 2023
59364a4
printf PADEMU args
israpps Jun 26, 2023
6f3f3bf
add "hello" printf to PADEMU modules
israpps Jun 26, 2023
9e925ac
xboxone: fix printf
israpps Jun 26, 2023
b9fd41f
PADEMU: dont import printf if no debug
israpps Jun 26, 2023
d2315af
PADEMU: simplify makefiles
israpps Jun 26, 2023
ffb3e9f
Update pademu.c
israpps Jun 26, 2023
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
Prev Previous commit
Next Next commit
Update xboxoneusb.c
  • Loading branch information
israpps committed Jun 26, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 1296264d467162441a91c813befd3f5b73f743f9
4 changes: 2 additions & 2 deletions modules/pademu/xboxoneusb/xboxoneusb.c
Original file line number Diff line number Diff line change
@@ -108,7 +108,7 @@ int usb_connect(int devId)
if ((endpoint->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT && xboxonedev[pad].outEndp < 0) {
xboxonedev[pad].outEndp = UsbOpenEndpointAligned(devId, endpoint);
xboxonedev[pad].endout = endpoint;
DPRINTF("DS34USB: register Output endpoint id =%i addr=%02X packetSize=%i\n", xboxonepad[pad].outEndp, endpoint->bEndpointAddress, (unsigned short int)endpoint->wMaxPacketSizeHB << 8 | endpoint->wMaxPacketSizeLB);
DPRINTF("register Output endpoint id =%i addr=%02X packetSize=%i\n", xboxonepad[pad].outEndp, endpoint->bEndpointAddress, (unsigned short int)endpoint->wMaxPacketSizeHB << 8 | endpoint->wMaxPacketSizeLB);
}
}

@@ -306,7 +306,7 @@ int xboxoneusb_get_data(u8 *dst, int size, int port)
} else {
UsbCloseEndpoint(xboxonedev[port].interruptEndp);
xboxonedev[port].interruptEndp = UsbOpenEndpointAligned(xboxonedev[port].usb_id, xboxonedev[port].endin);
DPRINTF("XBOXONEUSB_get_data usb transfer error %d\n", ret);
DPRINTF("%s: usb transfer error %d\n", __FUNCTION__, ret);
}

mips_memcpy(dst, xboxonedev[port].data, size);