Giter Site home page Giter Site logo

firminoneto11 / xbox-controller-tracker Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 7.22 MB

A little program written in Go that tracks whenever the 'Guide' button from a Xbox Controller is pressed and then presses a key from keyboard

Python 35.17% Go 64.83%
go golang pygame python robotgo asyncio sdl2 pydirectinput

xbox-controller-tracker's Introduction

Xbox Controller Tracker

A little program written in Go that tracks whenever the 'Guide' button from a Xbox Controller is pressed and then presses a key from keyboard

Installing

  • Download this repository

  • Make sure you have Go 1.20 or above

  • Install a C Compiler for Windows: GCC

  • Install SDL (Check the instructions bellow)

  • Install ZLIB (Check the instructions bellow)

Installing SDL

In this project, theres a sdl.zip file. After you have successfully installed the TDM GCC for windows, unzip this sdl.zip file into the C:\TDM-GCC-64\x86_64-w64-mingw32 folder. That's it! SDL is installed.

Keep in mind that the C:\TDM-GCC-64 folder should be the path where you installed TDM GCC.

Installing ZLIB

The process of installing zlib is similar to the SDL's. In the project's root directory theres a file named zlib.zip. Just unzip it into the C:\TDM-GCC-64\x86_64-w64-mingw32.

Keep in mind that the C:\TDM-GCC-64 folder should be the path where you installed TDM GCC.

The same code has also been written in python. Check the ./python directory if you'd like!

xbox-controller-tracker's People

Contributors

firminoneto11 avatar

Watchers

 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.