xvortex / rockbox

Vortex Rockbox fork
http://xvtx.ru/rockbox/
40 stars 12 forks source link

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

Open kokosowy opened 8 years ago

kokosowy commented 8 years ago

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

kokosowy commented 8 years ago

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

skgsergio commented 8 years ago

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

kokosowy commented 7 years ago

i totally agree!

masseo1 commented 7 years ago

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.