Use iOS devices as game controller for PC via usb-lighting cable.

Related tags

Games Xpad
Overview

Xpad v1.0

Use iOS devices as game controller for PC via usb-lighting cable.

How to use

Prequirments

  • Download all files of this project.
  • [iOS] Open /Xpad/XpadIOSClient/XpadIOSClient.xcworkspace using Xcode, connect your device and build XpadIOSClient on it.
  • [PC] Install python module vgamepad pip install vgamepad .
  • [PC] Install iTunes, inorder to install usbmuxd service for providing TCP connection over USB pipe.

When ready

  1. Connect your device to your windows PC.

  2. Run XpadIOSClient on your device, click "Start Listen".

    IMG_4893

  3. Run PC client, create a virtual controller using vgamepad and send connect request to device.

    cd /Xpad/XpadPCClient
    python main.py
    
  4. On XpadIOSClient, click "Accept Connection".

  5. Have fun!

Features

  • This is a toy I built to play Forza Horizon 4, in order to take advantage of 3D-Touch ability of my iPhoneXS. So accoring to my preference, button is maped as below:

    Press left section -> Left Shoulder Button (Break)
    Press right section -> Right Shoulder Button (Gas)
    Steering -> Left Joystick X-axis (Steer)
    
  • When run PC client for the first time, windows will ask you to give access to network connection, choose allow and re-run main.py

Bugs

  • iOS client will crash if cable is unplugged when connected and running.
  • Must follow exact order 1-4 to connect iOS client to PC.
  • When device is rotated, steer will not rotate, so don't do that.
  • Not sure what will happen if device don't support 3D-Touch.

Thanks to

You might also like...
A snake engine written in SpriteKit for all Apple devices.
A snake engine written in SpriteKit for all Apple devices.

A snake engine written in SpriteKit for all Apple devices. ⭐ Features Fully tested engine functionality. Framework based, super easy to integrate in d

An iOS / Mac view controller for chess boards
An iOS / Mac view controller for chess boards

FDChessboardView Features High resolution graphics Customizable themes and game graphics Supports all single board chess variants: suicide, losers, at

A universal iOS Game using Swift and iOS SpriteKit

a universal iOS Game using Swift 4 and iOS SpriteKit.

Lambton College, 2nd Semester Final IOS Project (Star Wars) game
Lambton College, 2nd Semester Final IOS Project (Star Wars) game

The game we developed for our project of the course advanced iOS application is based on a functioning of a real time shooting game, in which initiall

iOS drop-in library presenting a 2048-style game
iOS drop-in library presenting a 2048-style game

iOS-2048 iOS drop-in library presenting a clean-room Objective-C/Cocoa implementation of the game 2048. Screenshot Instructions The included sample ap

iOS association game chatbot. AI based on neural word embedding language model. Image recognition with convolutional neural net.
iOS association game chatbot. AI based on neural word embedding language model. Image recognition with convolutional neural net.

AssociationBot ##iOS association game chatbot. UI based on JSQMessagesDemo. Association database created with the help of Word2Vec neural word embeddi

An iOS game for horrible people

CardsAgainst App An iOS game for horrible people A peer-to-peer Cards Against Humanity game for iOS, written with Multipeer Connectivity in Swift 4. L

A physics-based cocos2d iOS game

CastleHassle License Copyright (c) 2010-2014 Castle Hassle Permission is hereby granted, free of charge, to any person obtaining a copy of this softwa

A simple Chess game for iOS, written in Swift
A simple Chess game for iOS, written in Swift

Swift Chess This is a simple chess game for iPhone and iPad, designed for novice players. It features a very simple AI that plays much like a beginner

Owner
Jinglong Zhu
Jinglong Zhu
OpenOSCKit - Communicate among computers, sound synthesizers, and other multimedia devices via OSC over an IP network

OpenOSCKit The OpenOSCKit package provides the classes needed for your apps to c

Dan Murfin 7 Feb 3, 2022
The one and only open source 4X MMO mid-core strategy game for iOS. Similar to Game of War and Mobile Strike

4X MMO Strategy Game for iOS I have spent 4 years of my life and a significant amount of money into completing this game and I hope you enjoy it. For

shankqr 69 Nov 16, 2022
IOS Spin Game - A simple spin game using SwiftUI

IOS_Spin_Game A simple spin game using Swift UI.

Md. Masum Musfique 4 Mar 23, 2022
A little arcade game that uses SwiftUI as a game engine.

SwiftUI Game A little arcade game that uses SwiftUI as a game engine :) Just copy the code into the Blank playgroundbook in Swift Playgrounds app on i

Roman Gaditskiy 10 Sep 30, 2022
🦁 🃏 📱 An animal matching puzzle card game– built with turn-based game engine boardgame.io and React-Native + React-Native-Web

Matchimals.fun an animal matching puzzle card game ?? ?? ?? Download for iOS from the App Store ?? Download for Android from the Google Play Store ??

iGravity Studios 137 Nov 24, 2022
Switshot is a game media manager helps you transfer your game media from Nintendo Switch to your phone, and manage your media just few taps.

Switshot is a game media manager helps you transfer your game media from Nintendo Switch to your phone, and manage your media just few taps.

Astrian Zheng 55 Jun 28, 2022
Gravity Switch - A dynamic game that integrates swiping and tapping to create a fun interactive game

GravitySwitch Gravity Switch is a dynamic game that integrates swiping and tappi

null 3 Nov 19, 2022
FlagGuess-Game - A game to collect points by guessing flags

Flag Guess Game A game to collect points by guessing flags! Wrong Choice

Ahmet Onur Sahin 3 Apr 18, 2022
CardGameEngine - Prototyping a game engine for the Bang card game

CardGameEngine Prototyping a game engine for the Bang card game. Features Engine is open source Powerful scripting language using JSON Card design is

stephtelolahy 5 Nov 22, 2022
Game of Life Use the custom SwiftLint script

Game of Life The deployement target of the project is iOS 13.0 and the project use cocopoads as dependency manager

null 0 Nov 23, 2021