rockbox icon indicating copy to clipboard operation
rockbox copied to clipboard

X3: Assignment for 'home/back' and 'option' buttons should be swapped

Open kokosowy opened this issue 9 years ago • 4 comments

Currently 'option' button acts as 'home/back' and 'home/back' button act as 'option'. These should be swapped. Thanks.

kokosowy avatar Apr 28 '16 13:04 kokosowy

Something told me to to check Google for X3 front panel images.. and it seems there are some variations. Chinese would be working OK, but it seems I have I guess European variant with 'option' button in the middle of front panel. We should have at lease option to change button assignment. Thanks.

K

kokosowy avatar Apr 28 '16 13:04 kokosowy

It's a hardware review, the older one have the two buttons swapped. It's kinda annoying to be honest the behaviour of this port of rockbox about these buttons. An option would be nice.

1

skgsergio avatar Aug 17 '16 19:08 skgsergio

i totally agree!

kokosowy avatar Sep 19 '16 14:09 kokosowy

Hi there, I have just swapped the buttons on my Xduoo x3. I really like using "back" to go back instead of the "option" button. A much needed improvement for me.

In the file: apps/keymaps/keymap-xduoox3.c , I swapped in the code "BUTTON_HOME" with "BUTTON_OPTION" and compiled the code. In the file firmware/target/mips/ingenic_jz47xx/xduoo_x3/button-target.h, Ive swapped the definitions of BUTTON_HOME and BUTTON_OPTION

  1. I downloaded the source code from here to my ubuntu 16.04 system.
  2. I edited the file keymap-xduoox3.c, swapped the "BUTTON_HOME" and "BUTTON_OPTION"
  3. I edited /button-target.h ,so BUTTON HOME is 0x00000002 and BUTTON_OPTION is 0x00000004
  4. I followed the instructions from https://www.rockbox.org/wiki/LinuxSimpleGuideToCompiling, created a new rockbox.zip
  5. Unzipped my new rockbox.zip to my SD card,and overwrote the existing files. in .rockbox
  6. It works as desired.

I hope this helps.

Unfortunately I'm new to making and modification to Rockbox, or else I would try to make it a selectable option in Rockbox settings. The only thing I might be able to do is to make the configure script be able to select the "swapped button" layout upon compile time.

masseo1 avatar Dec 29 '16 01:12 masseo1