I am looking for a specific key layout file like the one on this post: https://issuetracker.google.com/issues/37115804. As you can see, the file on that link is restricted for some reason, and I can't seem to find it anywhere. The issue is that while using bluetooth with an XBox One S controller, the keymapping is incorrect, resulting in some buttons being mapped incorrectly or not at all. I have been able to partially fix this with my own key layout file, but I can't find proper documentation or a correct file to use. If anyone has one I would really appreciate it.
Related
Ok, I’ve been holding back on this one for over a year, doing searches on this problem and coming up with nothing. I can’t believe I’m the only one with this problem.
I have an HTC Trinity running WM6.1
I use KeePass on my PC with a key file. On my ppc I cannot get the software to allow me to choose a key file. The drop-down selector will say “<no key file selected>” even though the box next to “Use Master Password AND Key File” is checked and the master password has been entered. No amount of selecting/unselecting/reselecting will allow the key file selector to give me any sort of file selector or input field.
I’ve been dicking around with this since I first got my device in July 2008, putting a few hours into it when I come across a new release (today’s version was 0.5.1). I’ve seen release notes from a previous version (0.4.5) that key file has been enabled. I’ve tried creating a new KeePass file on the PPC, and that will not allow me to choose/create a key file either. I thought it might have something to do with screen aspect affecting the selector widget, so I’ve switched to horizontal mode, shrunk the fonts to the tiniest size, but no difference (I do software QA).
My way of contending with the problem is to generate a dupe of my KP db that doesn’t require a key file. I don’t like doing that.
Actually this page http://stahovat.okamzite.eu/news.php?readmore=179
may be reporting the same problem, but the translation is not very good.
Try it in the Windows Mobile emulator.
If it doesn't work - KeePass is open source, you can probably find out why.
Or just submit a but to KeePass PPC port developers on sourceforge.
I was just faced to the same problem, but then renamed my PCKey-file from "keepass" to "keepass.key" in "My Documents" folder on my Storage card. After selecting the "My Documents", I can open the the key-file without problem and so I can use my encrypted database file.
Hope it still can help you, but I only now found this nice application.
I've just gotten my HP Keyboard in the post. It's very sleek and is great to use.
However, it does have a pretty big flaw (especially now with the QuickOffice update): Keyboard shortcuts.
It has a control button, which only has two uses: 1. Hold it while using the arrows in a text box to move along whole words, 2. Ctrl+3 brings up the notification area, which is odd as it has it's own button.
Would it be possible in any way (homebrew or otherwise) to add standard keyboard shortcuts: Copy, Paste, Cut, Select All, etc? Using all those functions is just a natural part of how I use a computer and I'll know I'll forever be trying to use them.
Still, despite those issues, I'm glad with my purchase. It'll be good for my laptop (especially when I want to use the HDMI out and the lid is closed), PS3 and my Android phone.
Edit: The ability to scroll and navigate cards with the arrow buttons would also be very nice, but probably harder to implement.
Looking into it right now. Probably needs a binary patch on LunaSysMgr, someone please correct me if I'm wrong (and I sincerely hope I am).
Cube1701 said:
Would it be possible in any way (homebrew or otherwise) to add standard keyboard shortcuts: Copy, Paste, Cut, Select All, etc? Using all those functions is just a natural part of how I use a computer and I'll know I'll forever be trying to use them.
Click to expand...
Click to collapse
Agreed. I managed to copy a web address from one website today using the drop-down menu's copy command, but when I went to a forum to paste the address on a "link" attachment, I couldn't figure out how to to it. Still don't know.
That would be a great fix.
Hi there! I'm new to this community and I would like to salute you all!
I have what should be in my opinion an easy question: is it possible to play android games on a tablet using a physical keyboard connected via usb? I installed gta 3 and it is possible to move with the arrow keys and some other buttons work too, but the action buttons on the right side of the screen dont work with the keyboard. Also, I installed Fifa 12 and I was hoping there could be some sort of app or emulator that could map the keys on the physical keyboard so that they could match the buttons on the on screen keyboard. You know, sort of like WASD + arrow keys. So tell me, is there some kind of app or emulator that coud do this? Is this even possible? Thanks
Nothing?
Is it possible?
You can make a custom layout by writing a keylayout file in Android: /system/usr/keylayout/qwerty.kl
You can modify this to have it send any keycode.
If you are going to remap letters and stuff but still want to be able to use a regular keyboard,
I suggest that you get two different (different PID/VID) keyboards.
You could even use a numeric keyboard for gaming.
Leave qwerty.kl alone and make a new one named something special.
First try this: use logcat when plugging in your keyboard, and twiddling a few keys.
You will get an error message something like this:
Code:
W/KeyCharacterMap( 1360): Can't open keycharmap file
W/KeyCharacterMap( 1360): Error loading keycharmap file '/system/usr/keychars/HID_04d9:1203.kcm.bin' . hw.keyboards.196612.devname='HID 04d9:1203'
W/KeyCharacterMap( 1360): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
This is not the file that you are looking for but it tells you the name of the file that you do need.
(keylayout is the first layer of translation, keychars is the second layer. You don't need to change keychars.)
That file (in this case) would be /system/usr/keylayout/HID_04d9:1203.kl
If your system doesn't emit this error message, get the VID/PID and try that as a name.
(You can get the VID/PID by plugging the keyboard into a Windows system and looking in device manager.)
You still have to modify the .kl file for whatever your gaming need is.
Start with the original qwerty.kl file as your model.
Thanks. But it seems a little overwhelming for a new android user like me. I was hoping there was some sort of app that could let me map physical keyboard keys.
Is that the only way?
Before reading on please know that:
You need to have root permissions
The methods for stock based kernel vs aosp vary
ALWAYS back up your files
I've only recently been toying with this on AOSP, not everything may be accurate
HOW TO CHANGE THE KEYS:
This link has all you need to know about the .kl and .kcm files, and how to change the layout. Basically the keylayout file gives values to the keys pressed, while the keychars assigns things like what to do when shift/capslock is pressed etc... Unfortunately, while this works fine on stock based roms, it needs some extra steps in order to work with AOSP
NOTE:
The location of the files on the tf300t are slightly different. The keylayout/ and keychars/ folders can be found in /system/usr
This link is the android documentation on input files. The "Key Layout Files" and "Key Character Map" sections for information on the syntax for .kl and .kcm files.
AOSP ROMS
AOSP roms evidently do not have a working asusdec driver, as such only standard Android keys work.
A list of keys can be found in the "Keyboard Devices" section of the Android documentation linked above, or you can just click here
The Asus specific codes the dock uses (and therefore don't work on AOSP) :
KEY_SLEEP
KEY_WLAN
KEY_BLUETOOTH,
ASUSDEC_KEY_TOUCHPAD
KEY_BRIGHTNESSDOWN
KEY_BRIGHTNESSUP
ASUSDEC_KEY_AUTOBRIGHT,
KEY_CAMERA
KEY_WWW
ASUSDEC_KEY_SETTING
KEY_PREVIOUSSONG -MEDIA_PREVIOUS
KEY_PLAYPAUSE -MEDIA_PLAY_PAUSE
KEY_NEXTSONG -MEDIA_NEXT
KEY_MUTE
KEY_VOLUMEDOWN
KEY_VOLUMEUP
Some alternatives I've found:
POWER can be used as an alternative for SLEEP (The lock key)
SYSRQ might work in place of CAMERA, Which is labeled as CAPTURE in the files (neither is a standard android key)
EXPLORER is already in the files in place of WWW
MEDIA_PREVIOUS should work instead of PREVIOUSSONG
MEDIA_PLAY_PAUSE in place of PLAYPAUSE
MEDIA_NEXT in place of NEXTSONG
IMPORTANT NOTES ON AOSP:
For the .kl files to work you must remove the "UNLOCK" at the end of every line.
Because the asusdec driver is either missing or broken, you must create an Input Device Configuration File. There is more about this in the Android documentation, but creating a simple file "asusdec.idc" and saving it in /system/usr/idc works fine.
This file should contain at least 2 lines:
Code:
keyboard.layout = asusdec # The name of the .kl file found in keylayout
keyboard.charactermap = asusdec # name of the .kcm file
The .idc file HAS to be named asusdec.idc or it will not work.
Process:
Code:
# Using Terminal Emulator with the dock disconnected:
logcat |tee -a log.txt
#When I connect the dock I see
D/EventHub(499): No input device configuration file found for device 'asusdec'.
#Disconnecting the dock I would see
D/AsusDockEmbeddedController(4002): ECWakeup is now off
#So I create the asusdec.idc, set it to load the .kl and .kcm, reboot, do it all over, this time
E/KeyLayoutMap(499): /system/usr/keylayout/asusdec.kl:1: Expected key flag label, got 'UNLOCK'.
#Reading the docs noticed there was no 'UNLOCK' flag so I removed them all
#And after removing several incompatible keys it works!
Hi people.
No matter what I try, I don't get the bluetooth option when I want to share a file. I've even paired with the other phone, tried other file managers, but no luck.
I'll select the file, select the share option, and then get a popup listing what appears to be frequent/recent contacts over various apps in the top row, then a row with what seems to be frequent/recent apps, then an app list, but nowhere is bluetooth an option. I've scrolled up, down, left, right, I've done everything obvious and slightly less obvious that I could think of. Is this a bug, or some stupid security setting or something? The internet is full of bluetooth related issues with the Pixel 2, it seems, but none I've found addresses this issue.
Regards
kowalski5233 said:
Hi people.
No matter what I try, I don't get the bluetooth option when I want to share a file. I've even paired with the other phone, tried other file managers, but no luck.
I'll select the file, select the share option, and then get a popup listing what appears to be frequent/recent contacts over various apps in the top row, then a row with what seems to be frequent/recent apps, then an app list, but nowhere is bluetooth an option. I've scrolled up, down, left, right, I've done everything obvious and slightly less obvious that I could think of. Is this a bug, or some stupid security setting or something? The internet is full of bluetooth related issues with the Pixel 2, it seems, but none I've found addresses this issue.
Regards
Click to expand...
Click to collapse
Bluetooth can only share text files and photos , so it depends on what type of file is being shared. If you want to share other type of files(other than text and photos) then just rename the last part of file name to txt,pdg, mp4, the Bluetooth share Option is available after being shared just rename file to it original name the file will be back.
riyan65 said:
Bluetooth can only share text files and photos , so it depends on what type of file is being shared. If you want to share other type of files(other than text and photos) then just rename the last part of file name to txt,pdg, mp4, the Bluetooth share Option is available after being shared just rename file to it original name the file will be back.
Click to expand...
Click to collapse
That most definitely is not a limitation. I can share that same file from another phone over Bluetooth.