Skip to content
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

Possibility of creating a Kernel module? #1

Open
JadinAndrews opened this issue Jan 11, 2019 · 1 comment
Open

Possibility of creating a Kernel module? #1

JadinAndrews opened this issue Jan 11, 2019 · 1 comment

Comments

@JadinAndrews
Copy link

Hi there, I have just stumbled on your project, I am honestly surprised that only about 3 people in the world (as far as I can tell) have tinkered with this controller. I think it would be great if this could be integrated as a kernel module, and used with the likes of retroarch for gaming.

What do you think would be the challenges with this?

@rdady
Copy link
Owner

rdady commented Mar 16, 2019

Indeed, I also would have counted on more interest, but it is always hard to predict what will gain popularity.
I don't think a kernel module for this device could be possible as it is Bluetooth based. If it was something like these wireless mouses like Rapoo with an own dongle capable of 2 addition Bluetooth based connections or a Jabra headset also with its own radio dongle plus a Bluetooth connection and a USB based connection. Well these can have their own kernel modules because of the (USB) dongles. But Gear VR has to deal with Bluetooth.
Although it is possiuble to build an intermediate device / dongle that acts as a joystick:
http://bbs.esp32.com/viewtopic.php?t=2162
Once this guy finishes USB software stack for ESP32 which is capable of Bluetooth like we need here, it does only take one cheap device from aliexpress some firmware upload and voila.

Alternatively:
Take ESP32 for Bluetooth and attach an Arduino Pro Micro (atmega32u4) for USB joystick emulation.
https://www.tinkerboy.xyz/how-to-program-the-pro-micro-atmega32u4-as-a-usb-gamepad-controller-with-arduino/
As the ESP32 has a WIFI port, it could have a web server running the Gear VR - joystick mapping you wish for the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants