Git Product home page Git Product logo

Comments (4)

sonninnos avatar sonninnos commented on July 3, 2024

AutoHotkey works and has been working here always, using the regular Send method, and 60 ms sleep per keydown has been enough at least to register the press every time.

from retroarch.

royaltongue avatar royaltongue commented on July 3, 2024

Can you provide a working AHK script that I can test?

from retroarch.

sonninnos avatar sonninnos commented on July 3, 2024

There is nothing special about it, and my scripts are too complicated to simply copypaste around as an example.

I suggest first making sure that WinActive is working properly with some random msgbox prompts. After that there is no way that Send won't be picked up. And does not matter what the RA input driver is, as in dinput and raw both work fine.

And I also suggest first trying to script a keyboard press, since certain xinput controllers and GetKeyState with 1JoyX is not guaranteed to work. Which means that you need to create a loop that uses XInput.ahk for reading the input.

from retroarch.

royaltongue avatar royaltongue commented on July 3, 2024

Decided to go a different route, using an ESP32 with ESPHome to emulate a Bluetooth HID keyboard

I think it may have been related to key press timing, as Retroarch was flakey on acknowledging the input until I set to release delay to ~500ms. Now that it's set, it works perfectly

from retroarch.

Related Issues (20)

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.