Giter Club home page Giter Club logo

controller_logging's Introduction

Notice my Controller

I got curious about getting my python programs to notice and log input from my PS4 controller. This could be for generating data for other projects. Also besides making abstract key mappers in the past to practice OOP and Design patterns in college. I never tried to leverage existing programs like DS4Windows in any of my scripts. So in this project I am going to try to leverage PyGame to register the input from the controller and generate an output that corresponds to the button press.

How did it start?

After looking at alternatives like inputs packages, I settled on PyGame since there were resources available and confirmation that the DS4Windows work with it. The PyGame script also had a sample script that creates a simple UI to map to the button presses.

Issues that occured

I am working on labeling the buttons in more readable format vs (axis or button 1 - 9). The laptop is picking up multiple controller inputs. so if I press all the buttons on a ps4 controller (i.e. square, triangle, circle, cross) and expect 4 inputs, I'll probably have 12 or more inputs.

controller_logging's People

Contributors

khayyon1 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.