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

Port on RetroStone/Retrorangepi #11

Open
PaddleStroke opened this issue Jul 8, 2019 · 6 comments
Open

Port on RetroStone/Retrorangepi #11

PaddleStroke opened this issue Jul 8, 2019 · 6 comments

Comments

@PaddleStroke
Copy link

Any chance to see a port for RetroStone / Retrorangepi? :)

It's a game console running armbian (a debian variant for Allwinner SoC). It has a dpad and 10 buttons.

Could you help giving hints about what should be modified for the controllers?

@AJenbo
Copy link

AJenbo commented Jul 8, 2019

devilution-nx uses libnx (hidJoystickRead) for it's controller implementation and so isn't really portable to other systems. However the control scheme was originally written using xinput and for devilutionX we aim to have an implementation using SDL2, meaning that it should work for most controllers on any supported system.

I guess this issue could be considered a duplicate of this diasurgical/devilutionX#163

@PaddleStroke
Copy link
Author

Hello @AJenbo
Thanks for your reply!
About the controls, Retrorangepi use a library called uinput for it's controller implementation.
If you can tell me where the controller implementation is done on this port, I can probably replace it with uinput so that it works there too.

@AJenbo
Copy link

AJenbo commented Jul 9, 2019

We would like to just use SDL2 and there by support all devices with a single implementation.

@AJenbo
Copy link

AJenbo commented Nov 24, 2019

RetroStone/Retrorangepi should now be supported by upstream (including controller code), simply run the Linux build steps on your device.

@PaddleStroke
Copy link
Author

PaddleStroke commented Nov 27, 2019

Thanks! Working great :)
With keyboard+mouse.
Now we just need to figure out the controls

@AJenbo
Copy link

AJenbo commented Nov 27, 2019

The current mapping can be found here: https://github.com/diasurgical/devilutionX/blob/master/Packaging/OpenDingux/build.sh#L118

You can build for RS97 via this command:
Packaging/OpenDingux/build-retrofw.sh

I'm currently working on improving the controller code using a RG300 and a PS dual shock controller on PC.

I think this issue can safely be close at this point, feel free to open a new one upstream if you have any issues with your device, and also check out the planned improvements in diasurgical/devilutionX#418

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