Giter Site home page Giter Site logo

drkzrg / x360advance Goto Github PK

View Code? Open in Web Editor NEW

This project forked from r57zone/x360advance

0.0 0.0 0.0 244 KB

External Arduino gyroscope for any Xbox or compatible gamepads / Внешний Arduino гироскоп для Xbox и совместимых геймпадов

Home Page: https://youtu.be/evaz_NGZC0E

C++ 68.40% C 7.39% Pascal 23.19% Batchfile 1.02%

x360advance's Introduction

EN RU

X360Advance

External Arduino gyroscope for any XInput compatible gamepads. With it, you can more accurately aim and steer. Buttons allow you to switch modes directly during the game.

YouTube-X360Advance YouTube-X360Advance

There are 3 modes of use:

  1. Default - no use of a gyroscope (button 1 - digital pin 5)
  2. Steering wheel - emulation of the left stick with a gyroscope (button 2 - digital pin 4)
  3. FPS - mouse movement by tilting the gyroscope (button 3 - digital pin 3)

The centering of the axes occurs when you press the steering wheel button or FPS.

Setup: first method (recommended)

The first way is to use the "XInput Injector" program. It is located in the notification area and allows you to infiltrate the game process in a couple of clicks, and use a gyroscope.

Before use, you just need to run the "X360Advance Settings" program, enter the COM port number, change the sensitivity of mouse and steering wheel movement, the default settings are recommended. Further, the sensitivity of the mouse can be changed already in the games themselves.

For convenience, you can also add "XInput Injector" to startup.

In the "XInput Injector" program itself, it is enough to select the name of the process and click on it; after successful implementation, the sound of connecting new equipment will be reproduced.

Setup: second method

The second way to use it is to copy the proxy dll to the folder of the game itself. The method has poor compatibility, works mainly with old games.

To configure, you need to change the COM port number in the "X360Advance.ini" file, the sensitivity of mouse and steering wheel movement, the default settings are recommended.

Next, you need to copy the files "xinput1_3.dll" (according to the bitness of the game, for a 32-bit game from the x86 folder, for a 64-bit game from the 64 folder) in the folder with the game and start the game.

It may be necessary for some games to rename "xinput1_3.dll" to one of the names: "xinput9_1_0.dll", "xinput1_1.dll", "xinput1_2.dll" or "xinput1_4.dll" (only Metro applications).

For games in which the XInput dll library does not work, you can also use the "X360AdvanceApp" application, which allows you to simply emulate a mouse for aiming.

External Arduino Gyroscope

Need to buy Arduino Nano, rotation sensor MPU 6050 GY-521, 3 buttons, prototype board, cable 2m miniUSB or microUSB (depending on the arduino) and tape Velcro. Solder the board by scheme. Attach to the back of the case, for example, with rubber bands.

Also can make just one wire using a USB hub. The USB hub has a small board and can be placed inside the gamepad.

Also can pack everything in the controller case. To do this, remove the board support elements from the back of the inside.

Flash calibration sketch, put on a flat surface, get the data for calibration. Insert calibration data into the main sketch.

Firmware and libraries can be found at the link below.

Possible problems

Some games are incompatible with this method, since they are not designed to use a mouse and a gamepad at the same time. Some games can constantly change button icons (from keyboard to gamepad and vice versa).

Download

Version for Windows 7, 8.1, 10.

Download

Feedback

r57zone[at]gmail.com

x360advance's People

Contributors

r57zone avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.