[Q] [KEYMAPS] Logitech F710 - Fire TV Q&A, Help & Troubleshooting

Alright, here goes nothing. I'm trying to learn to edit a keymap file in order to get the shoulder buttons working, mainly for RetroArch and ROM Collection Browser. I was digging around in the root directory and came across the keyboard layouts that have been mentioned before.
I ran into a discrepancy, and would like some input on it.
The keymap for both the 360 controller (Vendor_045e_Product_0719) and the F710 (Vendor_046d_Product_c21f) lack any sort of bindings for the shoulder buttons.
key 0x130 BUTTON_A
key 0x131 BUTTON_B
key 0x133 BUTTON_X
key 0x134 BUTTON_Y
# Button "LB" maps to BUTTON_L1.
key 0x136 BUTTON_L1
# Button "RB" maps to BUTTON_R1.
key 0x137 BUTTON_R1
Click to expand...
Click to collapse
(both controllers use the same code)
As i was digging I found the keymap for Logitech's Dual Action Controller (Vendor_046d_Product_c216), which has mappings for the shoulder buttons.
key 0x120 BUTTON_A
key 0x123 BUTTON_B
key 0x121 BUTTON_X
key 0x122 BUTTON_Y
key 0x124 BUTTON_L1
key 0x125 BUTTON_R1
key 0x126 BUTTON_L2
key 0x127 BUTTON_R2
Click to expand...
Click to collapse
So I have a few questions regarding this:
Can I copy the code from the DA over to the F710?
Why are the keys defined differently? (ie key 0x0124 vs key 0x130) And would this cause any problems?
Thanks in advance for any possible help.

You can not copy over the mappings as the keys are completely different as you can see. The reason the F710 and the Xbox show the same is because the F710 is mimicking a 360 controller when in xinput mode. Have you tried switching it over to Dinput mode instead? AKA move the switch between the shoulders from X to D and see if that helps as it will register as a Dual Action controller instead.

Montisaquadeis said:
You can not copy over the mappings as the keys are completely different as you can see. The reason the F710 and the Xbox show the same is because the F710 is mimicking a 360 controller when in xinput mode. Have you tried switching it over to Dinput mode instead? AKA move the switch between the shoulders from X to D and see if that helps as it will register as a Dual Action controller instead.
Click to expand...
Click to collapse
When I switch it to DInput I actually get no response from either XBMC or RCB.

hmm. Have you tried unplugging the dongle switching it to dinput then plugging the dongle back in? Might need to restart the FTV as well.

Related

Transport Tycoon Pocket

A little while ago I installed the PPC variation on a popular PC game called transport tycoon. The game itself works perfectly on the Touch HD and in fullscreen mode. The only problem I have found is in navigation. The hardware emulation of the mouse 'right click' is mapped to the HD's 'Home' button. This causes the game to crash if used.
I was wondering if any had played with this software and found a way to remap the hardware buttons.
The software can be found at: http://www.esoftinteractive.com/openttd.html
mm
comes up with the error .. not for this device ..
Ive tried several things to make OpenTTD playable (namely remapping buttons with Ae Button and installing Virtual Dpad) . But the missing DPad is really a problem. Virtual D-Pad is not working an the "right click" button is mapped to the Home-Key ... whenever you press it, OpenTTD is crashing.
Solution anyone?
I play it-- works perfect!!!
to scroll through the map -- open map(ingame) and click on the place you wana go!!
I wonder if we take somekinda button mapping app and map volume buttons as the right click- would it work??

Change hardware button to get 'back' in the left

Hello,
I want to change 'back' and 'menu' keys, so 'back' to be on the rigth side and 'menu' on the left. Like Samsung (I owned one). I prefer 'back' near my finger, it is more confortable.
I have been investigating. I have found a tool here in xda called buttonremapper, but after download and test, it does not work. Also it looks a bit abandoning, so it is possible it does not work for newer devices.
I have also test xposed framework + gravity box, but it has only the option to program 'long press' and 'double touch'. Under navigation bar there is an option to do what I want, but it only do it activating 'buttons in screen', so that is not a solution for me.
I suspect there is a way to do it modifying values in a /system/usr/keyloyout file, but dont know which and what modifications.
have somebody experience doing this for our device? is there a way to achieve this?
Thanks,
clonfsp said:
Hello,
I want to change 'back' and 'menu' keys, so 'back' to be on the rigth side and 'menu' on the left. Like Samsung (I owned one). I prefer 'back' near my finger, it is more confortable.
I have been investigating. I have found a tool here in xda called buttonremapper, but after download and test, it does not work. Also it looks a bit abandoning, so it is possible it does not work for newer devices.
I have also test xposed framework + gravity box, but it has only the option to program 'long press' and 'double touch'. Under navigation bar there is an option to do what I want, but it only do it activating 'buttons in screen', so that is not a solution for me.
I suspect there is a way to do it modifying values in a /system/usr/keyloyout file, but dont know which and what modifications.
have somebody experience doing this for our device? is there a way to achieve this?
Thanks,
Click to expand...
Click to collapse
I answer myself: it is possible modifyind the file /system/usr/keypad_8064.kl , changing the balues 'back' <-> 'menu'. It is even possible to assign buttons in another way, like right: home, center: menu and left: back.
Code:
key 114 VOLUME_DOWN
key 115 VOLUME_UP
key 116 POWER WAKE
key 139 MENU VIRTUAL
key 158 BACK VIRTUAL
key 172 HOME VIRTUAL
Just change keys 139 BACK and 158 Menu
You will find it in usr/keylayout/keypad_8064.kl

[Q] Mapping Camera on the back key

I'm doing a few tweaks on my phone, mainly not using the capacitive keys as menu and back, and using the home key as the app switcher, and using the nav bar for those three tasks. Here's what I've got so far.
I edited a few files under system/usr/keylayout
The Menu and Search key layouts were found under sec_touchkey.kl(Home was also found under this, but I had to also edit sec_keys.kl and sec_key.kl to get the home key as the app switcher)
Here's the default settings.
key 139 MENU VIRTUAL
key 158 BACK VIRTUAL
key 102 HOME
key 217 SEARCH
Here's what I set them to.
key 139 CALL VIRTUAL
key 158 CAMERA VIRTUAL
key 102 APP_SWITCH
key 217 SEARCH
Changing the roles of keys 139 and 102 worked, but Camera does not open the camera. I've tried assigning different roles to key 158 and they've worked except for the camera role. So I'm thinking CAMERA is not the correct event name to open the camera up....
http://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_CAMERA
That's where I got the keyEvent listings from.
Rom is in my signature.
Bump!
Help me out here guys!
I'm just gonna keep bumping every day.

Button mapping joypad

Hello guys.
I currently run on CM11.
I would like to map a physical button from my joypad to emulate the smartphone options button. I would like to go to the options menu for some emulators (save state...)
I use the buffalo snes controller and the wired xbox360 controller but there is only a button that sends me back to the launcher.
How can I modify that?
Is there an app for this?
Thank you

Is it possible to bind mouse wheel up/down to another function/button? (nVidia SHIELD 2019)

Good day. I'd like to know if and how it is possible to bind MOUSE WHEEL (UP/DOWN) (Scrolling) to OTHER KEYS? Into something like fast forward/backward.
I enjoy watching sports on my 2019 Pro Shield and VLC player has a very smooth and fast seeking function. Jamming the same key over and over on the remote is tiresome. I wish I could rather scroll the mouse wheel up/down to achieve the same effect.
I installed Button Mapper PRO and changed the Netflix key to something else. But when I try to bind mouse scroll to a new key - the app is useless. How can I make Shield to let me change mouse keys?
Is there a way to achieve this either by changing something in VLC or Binding something with Button Mapper PRO or do something else altogether?
Thank you
how???

Categories

Resources