-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connecting 2nd esp32 as HID #15
Comments
You should have in mind that Esp_8_bit has a HID stack for classic bluetooth. |
Ok, I've been trying to replace the his stuff. But I can't find where in the code I can submit a pressed key to the emulator. |
Or maybe a simple gist to make an esp connect as a keyboard using that Bluetooth classic stack. I'd love to contribute to this project, but I need a little help to get started. |
I'm not the author of this project. But as far as I can see, from the code, you should work with gui_hid(...) function which in turn handles Keyboard HID events for the console menu (that one used to change games) and also sends controller events to the current emulator by calling _emu->key(...). Everything works as HID events from a bluetooth keyboard, including which is keycode 40 (same as pressing ). I hope it helps you! |
I forked this and added support for a hard wired NES controller which allows you to access the file tree with LEFT+SELECT. |
hi, I'm trying to add bluetooth joystick support , I have a universar joystick techmaster, tm.stk7005, when I connect the joystick to the emulator it is enter to the function
but I don't know how to extract the data from the joystick. I can see how the len change when I move the stick or I press some buttons. |
Here is something fresh out of the press... |
Is there any possibility to integrate wireless connection between 2 esp32 for the emulator via ESP-NOW? If yes, where do I need to enter the code I've written for receiving input? |
I got a snippet from here:
nkolban/esp32-snippets#230 (comment)
And although my phone detects it as a keyboard, I can't get it to connect with the esp-8bit.
My plan is to put the esp32 in an old nes controller.
Btw this project is awesome. All the beers for you if you ever come around Argentina once we're done with covid.
The text was updated successfully, but these errors were encountered: