Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
localcc authored Mar 15, 2020
1 parent b097f70 commit 46b0c15
Showing 1 changed file with 57 additions and 2 deletions.
59 changes: 57 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,57 @@
# 360AsController
This driver/application allows you to use your console as controller. Driver will be written for windows and linux
## Building from source


### Driver for windows
1. Clone the repo to your local machine

`git clone https://github.com/localcc/360AsController`

2. Enter the repo directory and update submodules

`git submodule update --init --recursive`

3. Go to ViGEm bus directory and build the solution with Debug x64 configuration

4. Build 360AsController as Debug x64

5. Copy ViGEm dll from ViGEm build folder, to application build folder

#### Build errors

If you have a bunch of errors like USHORT is undefined, add
`#include <Windows.h>` after `#pragma once` to ViGEm's Common.h file


### 360 Application

1. [Setup your machine to compile xenon applications](https://free60project.github.io/wiki/Xenon_Toolchain)

2. Clone the repo to your local machine

`git clone https://github.com/localcc/360AsController`

3. Go to Xenon directory and run

`make CROSS_COMPILE=xenon-`

4. Copy Xenon.elf32 to FAT32 formatted usb drive, and rename the file to xenon.elf

## Prebuilt binaries
Head over to [Releases](https://github.com/localcc/360AsController/releases/) page and download latest release


## Usage


### On 360:
1. Launch Xell loader and lookup your ip, remember it to connect with driver on pc.

2. Plug usb drive with xenon.elf written on it, wait for the application to launch, when `Waiting for clients` will be displayed, connect to the console with pc driver.


### On pc:
```
360AsController.exe [ip]
Example: 360AsController.exe 192.168.1.158
```

0 comments on commit 46b0c15

Please sign in to comment.