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

Preliminary DualSense support #17

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ OBJS = source/start.o \
source/conf.o \
source/usb_hid.o \
source/usb_driver_ds3.o \
source/usb_driver_ds4.o
source/usb_driver_ds4.o \
source/usb_driver_ds.o


# Dependency files
Expand Down
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@ _A Wii cIOS module that fakes Wiimotes from the input of USB game controllers._
## Features

### Supported USB game controllers
| Device Name | Vendor Name | Vendor ID | Product ID |
| Device Name | Vendor Name | Vendor ID | Product ID |
|:------------------------:|:-----------:|:---------:|:----------:|
| PlayStation 3 Controller | Sony Corp. | 054c | 0268 |
| DualShock 4 [CUH-ZCT1x] | Sony Corp. | 054c | 05c4 |
| DualShock 4 [CUH-ZCT2x] | Sony Corp. | 054c | 09cc |
| PlayStation 3 Controller | Sony Corp. | 054c | 0268 |
| DualShock 4 [CUH-ZCT1x] | Sony Corp. | 054c | 05c4 |
| DualShock 4 [CUH-ZCT2x] | Sony Corp. | 054c | 09cc |
| DualSense Controller | Sony Corp. | 054c | 0ce6 |

- DS3 and DS4 support includes LEDs, rumble, and the accelerometer
- DS4's touchpad is used to emulate the Wiimote IR Camera pointer
- Both controllers emulate a Wiimote with the Nunchuk and Classic Controller extensions connected. Press L1+L3 to switch between them
- Three IR pointer emulation modes: direct (touchpad, only for DS4), analog axis relative (move the pointer with the right analog) and analog axis absolute (the pointer is moved proportionally to the right analog starting from the center). Press R1+R3 to switch between them
- DS3, DS4 and DualSense support includes LEDs, rumble, and the accelerometer
- DS4 and DualSense's touchpad is used to emulate the Wiimote IR Camera pointer
- All controllers emulate a Wiimote with the Nunchuk and Classic Controller extensions connected. Press L1+L3 to switch between them
- Three IR pointer emulation modes: direct (touchpad, only for DS4 and DualSense), analog axis relative (move the pointer with the right analog) and analog axis absolute (the pointer is moved proportionally to the right analog starting from the center). Press R1+R3 to switch between them

## Installation
1) Download [d2x cIOS Installer for regular Wii](https://wii.guide/cios.html)/[d2x cIOS Installer for vWii](https://wiiu.hacks.guide/#/vwii-modding) and extract it to the SD card
Expand Down
1 change: 1 addition & 0 deletions include/usb_device_drivers.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ static inline bool usb_driver_is_comaptible(u16 vid, u16 pid, const struct devic

extern const usb_device_driver_t ds3_usb_device_driver;
extern const usb_device_driver_t ds4_usb_device_driver;
extern const usb_device_driver_t ds_usb_device_driver;

#endif
Loading