christianhaitian / arkos

Another rockchip Operating System
MIT License
1.47k stars 83 forks source link

RG353VS Bluetooth controller issue #848

Open Ericthedog2 opened 9 months ago

Ericthedog2 commented 9 months ago

Before submitting your issue or feature request. DO NOT REQUEST ASSISTANTS FOR PRELOADED IMAGES. I do not support or condone the use of preloaded ArkOS images. Preloaded meaning images that come with copyrighted roms preincluded. Look for support from the creator or supplier of those preloaded images, not from here! If a ticket is submitted for assistance for such images or if there's an indiciation that a preloaded image is what the support request is for, the issue ticket will be closed with no further response.

  1. This is not the Stock OS that comes with your device, AmberElec, JelOS, or UnOfficialOS. ArkOS is a different distribution from those systems and will have differing features. The only somewhat similarity is that they both use EmulationStation as a frontend. Even with that, the versions of EmulationStation that's used in between ArkOS and these other distributions is different with different capabilities. If there are features you prefer with the other available distributions, just use those distributions instead. The choice is yours.

  2. Have you reviewed the Frequently Asked Questions section available for your supported device in the wiki?

  3. If your issue is related to being able to run certain emulators or ports, have you reviewed the Emulators and Ports section available at https://github.com/christianhaitian/arkos/wiki/ArkOS-Emulators-and-Ports-information for needed bios files and supported rom extensions?

  4. Have you reviewed the known issues section available at https://github.com/christianhaitian/arkos/wiki/Known-issues ?

Describe the Issue (If applicable)

A clear and concise description of what the bug is. I can't remap the controls when using my Bluetooth Controller (8bitdo Lite 2)

How can the issue be reproduced? (If applicable)

It can be set correctly in emulation station but I can't remap the controls inside of retroarch. Some controls are missing and some are wrongly set.

What device are you using?

Anbernic RG353VS

What version of ArkOS are you on?

Anything else you'd like to include that may help to review this issue or feature request?

raincityblues commented 6 months ago

Hi, I experienced the same problem with my own 8bitdo Lite 2, I traced it down to the Retroarch Autoconfig file being setup incorrectly for this specific device which passes incorrect mapping to ArkOS and Retroarch.

I manually altered this file: /files/home/ark/.config/retroarch/autoconfig/udev/8BitDo Lite 2.cfg

I made the file contents match this configuration shown below and it started to behave normally.

Please let me know if this resolves the issue for you as well!

# ArkOS
input_driver = "udev"
input_device = "8BitDo Lite 2"
input_vendor_id = "11720"
input_product_id = "20754"
input_left_btn = "h0left"
input_right_btn = "h0right"
input_up_btn = "h0up"
input_down_btn = "h0down"
input_a_btn = "0"
input_b_btn = "1"
input_x_btn = "3"
input_y_btn = "4"
input_l_btn = "6"
input_r_btn = "7"
input_l2_btn = "8"
input_r2_btn = "9"
input_l3_btn = "13"
input_r3_btn = "14"
input_select_btn = "10"
input_start_btn = "11"
input_l_y_plus_axis = "+1"
input_l_y_minus_axis = "-1"
input_l_x_minus_axis = "-0"
input_l_x_plus_axis = "+0"
input_r_y_plus_axis = "+3"
input_r_y_minus_axis = "-3"
input_r_x_minus_axis = "-2"
input_r_x_plus_axis = "+2"