Logitech Android Keyboard + Hacks and Fixes - Galaxy Tab 10.1 Accessories

So, I ordered one of these directly, and stupidly from Logitech and it just arrived yesterday. Stupidly because it has been in stock at Fry's for some time now... (The actual Android version, not iPad one).
Now that the keyboard is in my hot little hands, it is awesome, just pure pure awesome.
I did a couple typing tests on typingtest.com and scored 101wpm without errors (usual typing speed is 110-120wpm on a full-sized ergo keyboard); it could probably be better once I get used to it. (TypingTest.com itself is a pita, because the browser keeps trying to steal focus away from the flash typing test; I found a javascript one that I also scored 101wpm on) Although the UI lagged when typing that quickly. A negative of the keyboard: it might feel a bit too light when typing, but it is completely functional.
So... onto using it in applications... in connectbot none of the necessary keys worked at all, no esc, no tab, no ctrl nor alt. I couldn't stand that, so I wrote up a patch this morning to fix0rs it. I have a pull request open and hopefully it'll be integrated soon. The patch works generically across all keyboards that are compliant to the Android 3.0+ specs. The transformer dock kinda gets gypped here because their keylayout is so stupid (no esc, alt on right, etc).
Speaking of keylayout... that's where my next nits lie, most of the keys are pretty great, they're in the correct location. With a couple exceptions: 1) caps lock is left of a, and ctrl is in the bottom left; 2) the alt and search keys are swapped in position, alt should be adjacent to the space bar, and the search key, like the windows key, should be left of alt; 3) there's no recent apps/task switching button, there is a menu button, but I'll rarely use that.
Given those problems, I hacked up a new keyboard layout that: 1) swaps ctrl and caps lock (but the LED works a litte funky, ok otherwise); 2) swaps the search and alt positions; 3) puts the recentapps action on the menu key.
To install the keyboard layout, do the following:
1) have root on your device
2) unzip LogitechAndroiKeyboard.zip
3) adb push LogitechAndroidKeyboard.kl /sdcard/
4) adb shell
* $ su
* $ mount -o remount,rw /system
* $ cd /system/usr/keylayout
* $ cat /sdcard/LogitechAndroidKeyboard.kl > Vendor_046d_Product_b30a.kl
* $ mount -o remount,ro /system
* $ exit
* $ exit
5) Connect your keyboard and enjoy the new keylayout as described above.
This keylayout can be reverted at any time by removing Vendor_046d_Product_b30a.kl and reconnecting; this is a new file that will be created by following the above steps.

definitely something i will do when my keyboard arrives!
Did you also swap the keys physically? If so, was it hard to do?
Do you think it is possible to somehow to add other letters, like ÆØÅ, instead of hotkeys or any other keys I would find unnecessary? I'm really struggling to find a proper BT keyboard with Scandinavian/ Nordic layout.

paua__ said:
definitely something i will do when my keyboard arrives!
Did you also swap the keys physically? If so, was it hard to do?
Do you think it is possible to somehow to add other letters, like ÆØÅ, instead of hotkeys or any other keys I would find unnecessary? I'm really struggling to find a proper BT keyboard with Scandinavian/ Nordic layout.
Click to expand...
Click to collapse
No, I did not swap the keys physically--I only updated the keyboard layout to work as I wanted.
If you want to change the character mapping like you say, it will probably take a combination of the .kl file I included and editing /system/usr/keychars/Vendor_....same_as_I_said.kcm
I only need a US layout, so I didn't need to tweak any of that.

Cool. SERIOUSLY checking the keyboard now..thanks.

Sorry to ask this, but will this prevent the native keyboard from popping up when you start to type with a bluetooth keyboard?

Mr3G said:
Sorry to ask this, but will this prevent the native keyboard from popping up when you start to type with a bluetooth keyboard?
Click to expand...
Click to collapse
No. It doesn't

pfn said:
No. It doesn't
Click to expand...
Click to collapse
Thanks, its tough when the native keyboard takes up the whole screen.

Mr3G said:
Thanks, its tough when the native keyboard takes up the whole screen.
Click to expand...
Click to collapse
You might consider submitting a bug report(or feature request) to Google to have this fixed in a future version of Android. Probably won't make it into 3.2, but we can hold out hope for implementation in Ice Cream Sandwich. This behavior should at least be configurable.
Thanks for the review of this keyboard. I'm wanting to see how the Samsung Keyboard case turns out (and if it becomes available for a reasonable price from a third party), otherwise I might consider this Logitech keyboard. The bonus for this keyboard is that it would be useful with more than just my tab - on my HTPC for example, which has built in Bluetooth.

Question for you regarding the menu button: Did it work for you?
I have this keyboard and when I press my menu key I was hoping it would bring up the app drawer or something. It does nothing.

A similar samsung keyboard for the 10.1 tablet:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

ccapasso said:
Question for you regarding the menu button: Did it work for you?
I have this keyboard and when I press my menu key I was hoping it would bring up the app drawer or something. It does nothing.
Click to expand...
Click to collapse
The menu button serves the same function as the menu button on an android phone--for most honeycomb apps, it'll do nothing (same as in the launcher, nothing) since the menu button doesn't invoke the actionbar. Only pre-honeycomb apps with a menu are activated by the menu button
On my tab, I have MENU set to pop up the recent apps list.

pfn said:
The menu button serves the same function as the menu button on an android phone--for most honeycomb apps, it'll do nothing (same as in the launcher, nothing) since the menu button doesn't invoke the actionbar. Only pre-honeycomb apps with a menu are activated by the menu button
On my tab, I have MENU set to pop up the recent apps list.
Click to expand...
Click to collapse
Can you tell me how to remap the buttons? I want to remap my menu key to do something. Also, the "Calendar shortcut" on the keyboard doesn't launch anything either and I'd like to remap it too.
***Edit***
I see I can open the .kl file in Notepad++ and it shows what the layout is. However, I'm not familiar with the key layout (which number corresponds with which key) nor am I familiar with which command to put to have the menu do something. I assume there is a list I could reference?

wow ....anymore info about this ....?
Akerfeldt said:
A similar samsung keyboard for the 10.1 tablet:
Click to expand...
Click to collapse

rainby said:
wow ....anymore info about this ....?
Click to expand...
Click to collapse
That's this one:
http://www.expansys-usa.com/samsung-bluetooth-keyborad-case-fo-galaxy-tab-10-1-219894/
Edit: Here's some pics:
http://reviews.cnet.com/2300-3126_7-10008260-4.html

ccapasso said:
Can you tell me how to remap the buttons? I want to remap my menu key to do something. Also, the "Calendar shortcut" on the keyboard doesn't launch anything either and I'd like to remap it too.
***Edit***
I see I can open the .kl file in Notepad++ and it shows what the layout is. However, I'm not familiar with the key layout (which number corresponds with which key) nor am I familiar with which command to put to have the menu do something. I assume there is a list I could reference?
Click to expand...
Click to collapse
The .kl file is somewhat self-documenting; simply: look at the key you want to change, in this case, the one that says MENU, and replace it with the action that you want it to do. Look through the .kl files (and any others) and see what actions sound interesting, put that name in there instead of MENU and you're good to go.

pfn said:
The .kl file is somewhat self-documenting; simply: look at the key you want to change, in this case, the one that says MENU, and replace it with the action that you want it to do. Look through the .kl files (and any others) and see what actions sound interesting, put that name in there instead of MENU and you're good to go.
Click to expand...
Click to collapse
Ok, I'll take another look. I did some searching yesterday and there are a variety of .kl files in the folder on my Tab. Any idea which one in particular to edit?

ccapasso said:
Question for you regarding the menu button: Did it work for you?
I have this keyboard and when I press my menu key I was hoping it would bring up the app drawer or something. It does nothing.
Click to expand...
Click to collapse
I'm having an issue with the Home button. My soft keys light up, suggesting that signals are being passed, but the app drawer doesn't open...
Grr!

I bought one of the Logitech Android keyboards from Best Buy last week and ended up returning it. I thought it was too big and heavy to carry around much. I have a Stowaway bluetooth keyboard thats works great with Android so I'll be sticking with that, much easier to tote with me.

esuohe said:
I'm having an issue with the Home button. My soft keys light up, suggesting that signals are being passed, but the app drawer doesn't open...
Grr!
Click to expand...
Click to collapse
The home button is not for opening up the app drawer. It does the same thing as the home soft button...

sweet keyboard
http://imgur.com/a/CPOnY
just wanted to chime in on this keyboard.
its pretty great. i use it for school when i need to take notes.
my only gripe about it is that it weights as much as the tab.
Also, if you use a case that can stand the tab up, such as pyro's or what have you then the extra carrier case that they keyboard comes with cannot be fully utilized. I rate the thing 4-out-5.
there is a new keyboard case thats out (ithink) but its 99 bux, i mean if money is no object get it I think its pretty sweet also.
u can get this keyboard for 30 bux online from Logitech. All you need is a logitech coupon that will give you 50% off.

Related

RollR Discussion

I'm starting to get used to this new trackball (RollR), but it is definitely different than normal cursor pads on most devices.
It's OK outside of gameplay. I tried the new Raging Thunder racing game on my P3300, and while it plays just fine performance-wise, the RollR ball is much too sensitive to be used for this game.
I also find it a bit more difficult to scroll in PIE with the new trackball and outside clockwise/counterclockwise scroller.
How does everyone else feel about this new feature?
I feel like I could get used to it, but you dont need to use the mouse all the time. Does anyone know of a way to attach the mouse toggle program to a hardware button.
for me at the beggining the feel was not very good but when i used to it i think now is a very good suprise.i can do all the works just in one hand very easy even serfing internet
another thing that is excellent for me is the wifi connecting distance.now i can go also to my second floor of my apartment and have internet connection
without a problem and this is something i could not do with my qtek 9000
so far i,m very happy for the device.
*my english is not very good hope you understand me
neptune said:
I feel like I could get used to it, but you dont need to use the mouse all the time. Does anyone know of a way to attach the mouse toggle program to a hardware button.
Click to expand...
Click to collapse
Copy the file \Windows\MouseMode.exe and paste a shortcut in the \Windows\Start Menu\Programs. Then go to Start - Settings - Buttons and set it on a hardware button
I'm definitely getting used to it after almost a week. Game playing is still a challenge with the sensitivity of this ball compared to a regular pad, though.
mindk33p3r said:
Copy the file \Windows\MouseMode.exe and paste a shortcut in the \Windows\Start Menu\Programs. Then go to Start - Settings - Buttons and set it on a hardware button
Click to expand...
Click to collapse
Thanks for the suggestion, but is there any way to skip that screen where you have to make an extra click. Its no so much a deal when activating the mouse, only when trying to turn it off.
What do you guys think of the scroll ring, or whatever the chrome part is called?
I really like using it to scroll through all of the messages in my inbox, or when browsing web pages, but it doesn't always work as expected. Some times it scrolls smoothly, and other times it jumps to the next link. Anybody figured this out?
If you go into HKLM\Software\HTC\HTCCPL\Applet8 you can change the value of CmdLine to SETMOUSEMODE and the icon in the cpl will start and stop with one press.
mixmaven said:
If you go into HKLM\Software\HTC\HTCCPL\Applet8 you can change the value of CmdLine to SETMOUSEMODE and the icon in the cpl will start and stop with one press.
Click to expand...
Click to collapse
great my friend thanks a lot for that.....
now can you tell me how can we change the size of the cursor and put a smaller one?
To Dinario
I'am using it for 2 days and I agree with you. I don't find the wheel very useful and in fact I only use track ball with is more convenient with its 4 directions.
According to me, the wheel is only design for big jumps, and the trackball is more efficient for small jumps. But maybe in a few days we will take full control of this alien
mixmaven said:
If you go into HKLM\Software\HTC\HTCCPL\Applet8 you can change the value of CmdLine to SETMOUSEMODE and the icon in the cpl will start and stop with one press.
Click to expand...
Click to collapse
I did that instead :
- I Created a shortcut "mousemode.lnk" into \windows\start\programs (for my french one it is "\windows\menu demarrer\programmes")
- I edited the shortcut mousemode.lnk as below : "\windows\mousemode.exe" SETMOUSEMODE
Now, I can quickly activate/deactivate the mouse mode by cliking the icon, and I still can edit the mouse settings in the control panel.
I can activate it with one click of the icon, but how do i do the same by clicking a hardware button. I've went into settings/buttons and assigned a key, but when i press it only takes you to the config page where you have check enable.
Has anyone any ideas please?
Thanks,
BPP
I hate exactly the same problem, if someone can help. Thanks
Big Purple Penguin said:
I can activate it with one click of the icon, but how do i do the same by clicking a hardware button. I've went into settings/buttons and assigned a key, but when i press it only takes you to the config page where you have check enable.
Has anyone any ideas please?
Thanks,
BPP
Click to expand...
Click to collapse
You must write inside the register
HKLM-software-microsoft-shell-keys
i.e. 40c1 then ab(default)
["\Windows\MouseMode.exe" SETMOUSEMODE] without the []
What registry program is used to do this?
mixmaven said:
If you go into HKLM\Software\HTC\HTCCPL\Applet8 you can change the value of CmdLine to SETMOUSEMODE and the icon in the cpl will start and stop with one press.
Click to expand...
Click to collapse
What registry program is used to do this?
str8upn2 said:
What registry program is used to do this?
Click to expand...
Click to collapse
resco explorer
resco registry
Anyone knows how i can set rollr sensibility in "d-pad mode"?
does anybody know how to disable rollr on HTC P3300 by registry trick? I have some problems with it - sometimes it becomes mad and starts to scrolling the screen even when I am not touching it. It is absolutely impossible for me. Any help appreciated.
I thought I should share how I make use of the ring and the ball.
The wheel basically moves the highlighting position up and down on the screen (there is no left and right movement). When the mouse cursor is enabled, pressing the ball will mean pressing the location where the mouse pointer is pointing (not where highlighted). Hence, I am using a button-mapping software (AEBPlus) to get the benefits of both world:
- OK button becomes "enter"
- long pressing OK button becomes "close application"
- right softkey button becomes "move cursor to right"
- left softkey button becomes "move cursor to left"
- media key single press becomes left softkey
- comm manager key single press becomes right softkey
And, I have the mouse cursor always enabled. Generally moving the highlighting position by the wheel is easier than the mouse.
Hence, with this setup, I use the wheel most of the time to move the highlighting position to where I want and then I press the OK button to select it. When typing text, I use the right/left button to move around the typing position for editing, deletion, etc. I will use the mouse to point to those location where highlight can't go to, for instance, the input pad, or those icons at the top task bar ...
Therefore, it is now almost one-handed operation and I hardly need the stylus.
Cursor colours?
Anyone know how to change the colour/size of the arrow?

Keyboard AND Mouse on Captivave thanks to Bluetooth Goodness!!

Was just pairing up my phone with my computer again, and tried pairing up my DiNovo Edge Keyboard. Not only did it allow me to type into my phone but could also use the HOME key as the HOME button, F4 and END turned on and off the screen, Esc was the back button and F1 did something too.
THAT WASNT THE BEST PART!!
my keyboard has a touch pad mouse. IT WORKED. it gave me a mouse pointer on my friggin phone!!
keyboard and mouse to cruze around on my phone..
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
makes me wish i had the overpriced DiNovo Mini. that would be the prefect android phone accessory.
DiNovo Edge
DiNovo Mini
Woah! I'll have to try that when I get home tonight. I have a few DiNovo Mini around the house. It's great as part of the home theater setup as well as a remote keyboard/mouse for docked laptops. Now with this and TV out, I can make it a docked phone.
Man, that sounds awesome. I got my Dell bluetooth mouse and keyboard to pair but I can't get them to connect.
Anyone have any ideas?
Sent from my SAMSUNG-SGH-I897 using XDA App
all i did was pair. then use. mine was a 2 in 1 device. try just one at a time. not sure on how many bt devices are supported by this phone.
Tried pairing one at a time but to no avail. Anyone know of a way to force the connection to the phone?
Sent from my SAMSUNG-SGH-I897 using XDA App
fmenigat said:
Tried pairing one at a time but to no avail. Anyone know of a way to force the connection to the phone?
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
you typed the ## code on the keyboard and pressed ENTER after choosing the ## on the phone right?
Finally got around to try this out with my dinovo mini. It works perfectly and I'm typing using it right now.
Sent from my GT-I9000 using XDA App
GAMacky said:
Finally got around to try this out with my dinovo mini. It works perfectly and I'm typing using it right now.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
does the "click pad mouse" work on the mini on the android?
the fullsize diNovo that i have has a TOUCH pad. it works
All you need now is a HDMI connector for a monitor and you are good to go.
I would be interest to know if there is any other bt keyboards/mice out there that would work.
nappent said:
All you need now is a HDMI connector for a monitor and you are good to go.
I would be interest to know if there is any other bt keyboards/mice out there that would work.
Click to expand...
Click to collapse
actually with the dinovo mini NO. its the smallest 1ghz LAPTOP.
the mini has a lid that holds the captivate nicely upright. tried it at the store.
just dont know if the "clickpad" works as a mouse with the phone.
Trusselo said:
does the "click pad mouse" work on the mini on the android?
the fullsize diNovo that i have has a TOUCH pad. it works
Click to expand...
Click to collapse
Yes, but I yet have to figure out how to invoke Home and Back. The backspace button doesn't work as a Back button.
Trusselo said:
actually with the dinovo mini NO. its the smallest 1ghz LAPTOP.
the mini has a lid that holds the captivate nicely upright. tried it at the store.
just dont know if the "clickpad" works as a mouse with the phone.
Click to expand...
Click to collapse
Ha! I didn't even thought about putting the phone in the lid... Now I can't wait to try that tonight.
On a normal bt keyboard on android
Home button is home
Esc is back
F1 is options
F4 and END is power burton
arrows act as expected - (can scroll to docks 2+3 even tho cant see em in launcherPro)
EDIT
mouse right click is BACK as well
mouse can preform swipe actions on dock icons for LauncherPro
Trusselo said:
Home button is home
Esc is back
F1 is options
F4 and END is power burton
Sent from my SGH-I897 using XDA App
Click to expand...
Click to collapse
Those keys don't exist on the mini. However, I did find that the media audio +/- works.
EDIT: I take it back, I think ESC is a fn key combo. I'll have to look at it again tonight.
just found this on another forum. for re-mapping the dinovo mini keys
they changed keymappings for several android keyboard languages and an ADB script to push it to the phone. its for QWERTY dinovo and QWERTY, AZERTY & QWERTZ android layouts
http://android.modaco.com/index.php?showtopic=321868&mode=linear
they mapped
Working :
- Vol Up / Down
- "Vol off" is mapped to "HOME" key
- "Record on" is mapped to "MENU" key
- bottom-right key mapped to BACK
- "Windows" key is mapped to "HOME" key
- "Control" key is mapped to "Alt left" key
- "Alt Right" key is mapped to... "Alt right" key
- "Maj left" is mapped to "Shift left" key
- "Maj right" is mapped to "Shift right" key
- All other keys should be mapped as shown on the keyboard layout.
Have you figured out how to scroll with the mouse? I can't even open the notification bar with the mouse. In the application drawer, I figured out to use the arrow keys to scroll as each key press highlights the next app in the direction of the arrow. And yes, for the mini, the ESC key is fn + TAB. I'll have to take a look at the key mapping this weekend.
scroll works fine with my touch pad. works in lists as expected and *works* if you call it that on the desk top. will scroll side to side through most widgets and icons. eventually taking to next page. once again this is with a FULL bt keyboard with mouse (touchpad)
nappent said:
All you need now is a HDMI connector for a monitor and you are good to go.
I would be interest to know if there is any other bt keyboards/mice out there that would work.
Click to expand...
Click to collapse
The Microsoft Bluetooth Notebook Mouse 5000 works right out of the box.
This on a Captivate with Paragon RC6.0
It doesn't work exactly like their diagram on the packaging that it comes in. There is a button labeled as a back button that does nothing.
I'll try to describe what it does do.
Left button will select anything you care to select. You can also depress that button to grab and drag. You can select and move icons in LauncherPro. You can call up your XDA app, go to the right of the screen and grab the screen and scroll. (edit to note that if you do something like call up your XDA app, you can actually grab and drag the screen anywhere in an effort to scroll)
Right button is your Back button. That's all it will do.
Scroll wheel will scroll. It's slow and irritating, but it works. Then again, you always have the option of grabbing and dragging to scroll.
What is really slick and actually unexpected is that you can depress that scroll wheel and it will call up menus. No matter what screen you are on or what app you are executing, it calls up the appropriate menu.
You can delete files, move 'em, copy 'em, compose e-mails, and just about anything, it seems, without ever touching the phone.
There is only one downside that I can see, and that can't be helped - for those functions which will not autorotate, you will be disoriented with the movement of the cursor. You could probably actually adapt, given enough patience and practice.
I'm shocked this thing worked right out of the box. No app from the Market needed. I suppose an app from the Market might give you a function associated with the otherwise useless one key on this mouse, but I don't know that it would be worth it.
This from OfficeDepot. I'm a Logitech fanboy and would have gotten one of those if they actually sold them there. Maybe it's just as well they only had this Microsoft mouse.
Best Buy also typically has this mouse on the shelf. They also typically do not have the Logitech BT mice or mouses on the shelf.
I'm absolutely shocked with how slick this thing is.
Never thought I'd be the one uploading to YouTube.
This without touching the Captivate
.
all bt mice use the same bluetooth profile stack, they should all work, with 3 buttons, and scroll. my touchpad had vertical and horizontal scrolling and
also in launcher pro i was able o click and "drag" dock icons for the swipe gesture option in launcherpro.
Trusselo said:
<snip> my touchpad had vertical and horizontal scrolling <snip>
Click to expand...
Click to collapse
Maybe I should have (or should) mail order that BT mouse that Logitech makes that features the horizontal scrolling. I bet that thing works right out of the box, too.
.

[MOD][HOW-TO] Enable Software Keys

I can not take full credit for this, I've gotten help from others and have two threads that have provided tons of information (both will be linked at the bottom of this). Samsung's big selling point for the GN2 was the S-Pen, one big gripe that some had was the fact that you couldn't use the S-Pen to interact with the physical buttons and the question of "why didn't they enable the software buttons the Nexus devices use?" So I searched around and found out how to enable the Software buttons on the GN2.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now I'm still tinkering with the Key values to disable the menu and back buttons and possibly re-map the home button...input on this would be great.
Step One: You must be Rooted to do this
Step Two: Use your favorite File Manager (I used Solid Explorer) to navigate to the build.prop file (sysytem>build.prop)
Step Three: Add the following to the bottom of your build.prop file (without the quotes);
"qemu.hw.mainkeys = 0"
Step Four: Save build.prop file, exit file explorer, and reboot the your phone
Step Five: Enjoy your new software buttons
You can turn off the backlight to the menu and back buttons in Settings>Display>Touch key light duration>Always Off. Again this will not disable the physical buttons, I'm still working to figure out what values need to be changed. I'll post the "known" values in the next post.
source info:
http://forum.xda-developers.com/showthread.php?t=1918166
http://rootzwiki.com/topic/29153-mod-411-jelly-bean-soft-key-mods-with-menu-and-search-stockbb/
For those that want "the bleeding edge" of things (like myself) I suggest giving PIE from ParanoidAndroid a try. Senior Member noname81 has created an app that can be sideloaded to your rooted device and enables the PIE style navbar and can be found HERE. For more on PIE check HERE. Check it out and let us know what you think.
From the info found in the SGS3 thread the values that need to be changed are;
key 172 Home
key 158 Back
key 139 Menu
found in these files;
/system/usr/keylayout/sec_touchkey.kl
/system/usr/keylayout/gpio-keys.kl
/system/usr/keylayout/sec_keys.kl
Now the GN2 does not have all of these files but the key values are the same. Instead we have;
/system/usr/keylayout/Generic.kl
/system/usr/keylayout/gpio-keys.kl
/system/usr/keylayout/qwerty.kl
/system/usr/keylayout/sii9234_rcp.kl
and the values I've found are (grouped as found in the above files);
Generic.kl (Only effected files need to be modified)
key 127 Menu Wake_Dropped (No effect)
key 139 Menu Wake_Dropped (Effect)
key 158 Back Wake_Dropped (Effect)
key 172 Home (Effect)
gpio-keys.kl (This file MUST be edited)
key 172 Home Wake (Effect)
qwerty.kl (This file can be left intact)
key 158 Back Wake_Dropped (No effect)
key 229 Menu Wake_Dropped (No effect)
key 139 Menu Wake_Dropped (No effect)
key 59 Menu Wake_Dropped (No effect)
key 102 Home Wake (No effect)
sii9234_rcp.kl (This file can be left intact)
key 10 Menu Wake_Dropped (No effect)
key 14 Back Wake_Dropped (No effect)
Step One: Disable the physical keys
Step Two: Making a flashable script to edit build.prop and change key values to disable physical keys
Step Three: Get popular key re-map ideas
Step Four: Make additional flashable scripts for popular key re-maps
Now I'm currently at work so disabling the physical keys might take me a little while of playing around but ill keep you posted. As for the flashable script I turn to the community to lend a hand on that, that's still a bit out of my league. Same goes for the key re-map scripts. Enjoy everyone.
I removed the above listed values completely from their respective files and have successfully disabled the physical buttons after a reboot. I'm going to re-input those values in one by one to see what the least amount of edit we need to make this work. I'll edit the second post with my findings.
edit: While testing values it seems something breaks the power/lock and volume buttons...battery pull turns phone off (obviously) and the power button will power on the phone but it won't lock it nor will it bring up the shut down/restart menu...replacing keylayout values and removing build.prop edit fixes those buttons...have to look into it further. Also it seems some modification to the size of the software buttons might have to be made as it overlaps the camera button when the camera is in use, this might be fixed by using an AOSP based ROM like CM10...once I get a port ill check it out.
For now if you want to play around with the software buttons to see what it feels/looks like just modify the build.prop file and turn off the backlight for the physical buttons, they will still work but won't be seen.
Apps that don't play nice with this mod;
Camera
Phone
Please note that the camera app doesn't quite play nicely with this mod. It cuts the buttons in half.
natboy said:
Please note that the camera app doesn't quite play nicely with this mod. It cuts the buttons in half.
Click to expand...
Click to collapse
stated in third post...I'll be going to an unoffical CM10 tomorrow so I can play a little more with this then
natboy said:
Please note that the camera app doesn't quite play nicely with this mod. It cuts the buttons in half.
Click to expand...
Click to collapse
also the phone dialpad/recent call log, and landscape softkeys are really screwy...
ScottRTL said:
also the phone dialpad/recent call log, and landscape softkeys are really screwy...
Click to expand...
Click to collapse
Thanx for that...I think once we get an AOSP ROM like CM that allows for a navbar some of these issues will go away. Haven't had the chance to try that out tho
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
any way to get the software buttons to appear only when the S pen is used?
great mod, but I don't need them out all the time.
jstrayy said:
great mod, but I don't need them out all the time.
Click to expand...
Click to collapse
The point of the mod is to eventually replace the physical buttons and be more like a nexus device
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
Can I get some input on layout? How would you like to see the following options arranged?
MENU
RECENT APPS
HOME
BACK
SEARCH
Not all options need to be used. (eg. Recent Apps, Search, Home, Back)
Thanks for your work on this. I personally would love to see :
menu-home-back
I almost never use recent and don't need search, got a widget for that. If power is possible, I'd put it to the left of menu.
Btw, I got a nice (slightly lighter than ICS) blue theme I'm working on for the soft keys.
Sent from my SAMSUNG-SGH-I317 using XDA Premium HD app
Chronzy said:
Thanks for your work on this. I personally would love to see :
menu-home-back
I almost never use recent and don't need search, got a widget for that. If power is possible, I'd put it to the left of menu.
Btw, I got a nice (slightly lighter than ICS) blue theme I'm working on for the soft keys.
Sent from my SAMSUNG-SGH-I317 using XDA Premium HD app
Click to expand...
Click to collapse
Cool...thanks for the input...just waiting on a "stable" enough AOSP ROM so I can look at the framework.apk and the navbar options that are baked in to CM.
If anyone figures out how to fix the recent call log please let me know. Having soft keys is amazing. I don't think that I could ever go back.
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
-Sn1PeR- said:
If anyone figures out how to fix the recent call log please let me know. Having soft keys is amazing. I don't think that I could ever go back.
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
Click to expand...
Click to collapse
Right now I am just using rocketdial... not as good as aosp with softkeys... but pretty decent..
Sent from my Galaxy Note II on Rogers Wireless
Hey monster,
Where are you on this? I would love to have a fully working setup. As far as key layout I use cm10 on my t989 S2 and have the nav bar mimicking the hardware button layout. I however would not want to disable my hardware buttons on my note2 just incase something goes wrong.
Thx
Casperi
Sent from my SGH-T889 using xda premium
casperi said:
Hey monster,
Where are you on this? I would love to have a fully working setup. As far as key layout I use cm10 on my t989 S2 and have the nav bar mimicking the hardware button layout. I however would not want to disable my hardware buttons on my note2 just incase something goes wrong.
Thx
Casperi
Sent from my SGH-T889 using xda premium
Click to expand...
Click to collapse
Kind of at a stand still at this point, some family stuff goin on, and im kind of waiting on a CM build so I can tie into the build in navbar settings. Ive been following the dev of cm for us very closely and it seems very close to being something...yay...so ill start looking at their framework.apk and the systemui.apk to see what I can do...then ill most likely build a script based off the s3 script thats already out...and we'll go from there...as far as layout I was kind of thinking menu, home, search, back...but I want to see the menu situation inside CM so menu might go away and it would be search, home, back but we'll see
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
Ok thx alot I really appreciate you taking a look at it. I would offer to help but i can't code to save my life. If you need any other type of help like testing or place to host your dev files I can do that.
Take care
Casperi
Sent from my SGH-T989 using xda premium
I have done quite a bit of key re-mapping, including the home button on other devices, and there's usually smali coding involved, as well, so shoot me a pm if you want some info. Can't say I know it all, but more than nothing...
Steve
Sent from my SAMSUNG-SGH-I317 using xda premium
sk806 said:
I have done quite a bit of key re-mapping, including the home button on other devices, and there's usually smali coding involved, as well, so shoot me a pm if you want some info. Can't say I know it all, but more than nothing...
Steve
Sent from my SAMSUNG-SGH-I317 using xda premium
Click to expand...
Click to collapse
Thanx dude once I get there ill def hit u up
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
ok so some great news...CM10 is "officially" running on the AT&T Note 2 (my phone) and I have gotten the navbar running, also CM has navbar settings/customizations built right in. I am currently looking at a navbar set up in the following manner Menu Home Search Back. If you love AOSP as much as I do and want CM on your phone, heres all you need to get this working:
- http://www.mediafire.com/?a6hl8qlv5v261q1 (the link to Madmack's CM10)
- gapps (optional and you'll have to get them yourself, im using 20121011)
- once you've booted into CM and gotten all your stuff set back up add "qemu.hw.mainkeys = 0" to the bottom of your build.prop file
- save changes and reboot
- you now have the navbar
- to edit go to system settings>system>NAVIGATION BAR (this only shows if you edit your build.prob)
- follow the on screen instructions and you're good to go
I'll try and post a screen shot later as well but I'm having some storage issues at the moment. Otherwise enjoy.

Disable & Hide H/W buttons-- Enable Softkeys! HTC One M7

Update:
Hey everyone, I would like to update my project just incase anyone stumbles across this post in the future . I first set out asking if such a glass or plastic screen protector exists that is tinted at the bottom to "black out" the capacitive buttons. I couldnt find anything like it and instead followed synister's advice to use car tint. I used a paper slicer to cut 8.5mm off of the bottom of a plastic screen protector and used that as reference when cutting the vinyl tint. I then applied both pieces making sure the edges touched. It does feel pretty smooth when you glide your finger back and forth; you will feel the line but it is "natural" to overcome.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
*If you use as a guide I cannot be held liable. If you edit the wrong files you can cause your device to function incorrectly. Device needs root.*
I enabled softkeys/onscreen buttons by adding the following line to build.prop. It's really easy to do and not intimidating. Use a file browser with root access (root file explorer). Navigate to />system>build.prop, click it to edit as text, scroll to the bottom, type the following, save and reboot.
qemu.hw.mainkeys=0
Click to expand...
Click to collapse
To disable the hardware keys is similar. This time navigate to />system>usr>keylayout>synaptics-rmi-touchscreen.kl. When you open this file as text, you will see it only has 2 small lines "key 102 HOME"and "Key 158 Back." Put a hashtag # in front of both lines or simply delete the lines, save and reboot. To disable the backlight I used the app capacitive buttons: https://play.google.com/store/apps/details?id=org.sleepydragon.capbutnbrightness.
And Voila. Worked in both sense 6 4.4.2 and cm11 nightlies. m8 what?
alexjzim said:
Hey guys.
After almost a year I still cant get used to HTC's proprietary 2 button, and now that even HTC has gone virtual I've officially said "screw it."
Although I haven't put a ROM on my phone in a while, this one seems to allows the regular android onscreen virtual buttons in place of the 2 button layout: http://forum.xda-developers.com/showthread.php?t=2348415. Less screen estate doesnt bother me so much, but using the home button for home, recent apps,and google now does.
Here is where I need the Communities help!: I'm sure everyone values the beauty of their HTC One as much as I do, and I dont want to keep those ugly buttons around if I dont have to. Does anyone know of a plastic or glass screen protector for the m7 that will black out the bottom bar, to basically make those buttons disappear? I wouldn't mind the HTC logo, its just those buttons...
I'm willing to custom order, guinea pig, or bulk order if anyone else wants in on the bandwagon. I'll continue to research myself and will update accordingly, but hopefully I'm not the only one who has thought this .
Click to expand...
Click to collapse
with root, you can turn off the bottom buttons and turn off the back light.
but you can also go to the store and get car tint and cut some out and place it over the buttons too.
synisterwolf said:
with root, you can turn off the bottom buttons and turn off the back light.
but you can also go to the store and get car tint and cut some out and place it over the buttons too.
Click to expand...
Click to collapse
I ordered some tint online as per your recommendation. I would like to make it appear as if the buttons were never there, not just turn them off. I'll cut the tint into place and cut a screen protector to work together. Still open to more elegant options, but I will try to post pics when it comes.
Thanks for the advice!
bumping once for new info
Why would you want to eat up the screen using on screen buttons....makes no sense your cutting about a half inch of screen for this mod...shrugs....to each their own I suppose.
Wonders_Never_Cease said:
Why would you want to eat up the screen using on screen buttons....makes no sense your cutting about a half inch of screen for this mod...shrugs....to each their own I suppose.
Click to expand...
Click to collapse
Yes you lose some screen real estate but it is actually not as detrimental as you probably think.. With xposed and the sense 6 toolbox you can auto hide the dock in blinkfeed. Using the Fleksy keyboard massively reduces keyboard size. And the buttons auto hide when playing content from YouTube Netflix etc.
It's very doable and puts it more in line with the Moto x which is 4.7 with soft keys. hitting the home button is also less stressful on the thumb and let's you hold the phone higher up to hit that back corner
Can You put up some kind of video guide?
Thanks in advance
Sent from my HTC One_M8 using XDA Premium 4 mobile app
Wonders_Never_Cease said:
Why would you want to eat up the screen using on screen buttons....makes no sense your cutting about a half inch of screen for this mod...shrugs....to each their own I suppose.
Click to expand...
Click to collapse
I was thinking the same thing, theres nothing wrong with the capacitive bittons and personally I would not not want to waste screen real estate,
plus even if you autohide the dock, which I know certain apps can do, you need to swipe up before you can use the back, home, task manager keys, adding another step ...
suppose some people prefer touch screen keys to capacitive ones, each to his own.
regards
I think it's still the lesser evil than always having at least one essential key missing. The One's design is total **** in that regard. I can't really reach the power button and often it doesn't respond. There is no menu button. Double tap and hold aren't reliable. I tried several configurations including Logo2Menu, the best one for me is a nav bar, where I have added two further buttons left and right. One menu button with double tap for auto rotate toggle and long press for quick settings. One for screen off and long press screen shot. To me that's the most usable configuration.

HTC One M7, S-On, TWRP 2.7.0.8, Cyanogen 11 20140621-NIGHTLY-m7, Xposed Framework, Flux Theme, Naxos Taz Icons
hmm. didnt work for me. i installed LMT launcher and disabled the keys. works for me.
Thanks for sharing this! I was hoping there was an Xposed or other root app that lets you enable the stock navbar without having to edit any files directly, but this isn't too difficult, and I've created a backup of my build.prop.
Btw, @psycho_maniac, I tried searching the settings of LMT to do this, and didn't see any options. :/
HitchslapHTC said:
I think it's still the lesser evil than always having at least one essential key missing. The One's design is total **** in that regard. I can't really reach the power button and often it doesn't respond. There is no menu button. Double tap and hold aren't reliable. I tried several configurations including Logo2Menu, the best one for me is a nav bar, where I have added two further buttons left and right. One menu button with double tap for auto rotate toggle and long press for quick settings. One for screen off and long press screen shot. To me that's the most usable configuration.

HTC One M7, S-On, TWRP 2.7.0.8, Cyanogen 11 20140621-NIGHTLY-m7, Xposed Framework, Flux Theme, Naxos Taz Icons
Click to expand...
Click to collapse
Which xpose module allows additional buttons ?
I'm on CM11S, navbar enabled but additional buttons are only menu and search. I would like to add the screen off one
alexjzim said:
Update:
Hey everyone, I would like to update my project just incase anyone stumbles across this post in the future . I first set out asking if such a glass or plastic screen protector exists that is tinted at the bottom to "black out" the capacitive buttons. I couldnt find anything like it and instead followed synister's advice to use car tint. I used a paper slicer to cut 8.5mm off of the bottom of a plastic screen protector and used that as reference when cutting the vinyl tint. I then applied both pieces making sure the edges touched. It does feel pretty smooth when you glide your finger back and forth; you will feel the line but it is "natural" to overcome.
*If you use as a guide I cannot be held liable. If you edit the wrong files you can cause your device to function incorrectly. Device needs root.*
I enabled softkeys/onscreen buttons by adding the following line to build.prop. It's really easy to do and not intimidating. Use a file browser with root access (root file explorer). Navigate to />system>build.prop, click it to edit as text, scroll to the bottom, type the following, save and reboot.
To disable the hardware keys is similar. This time navigate to />system>usr>keylayout>synaptics-rmi-touchscreen.kl. When you open this file as text, you will see it only has 2 small lines "key 102 HOME"and "Key 158 Back." Put a hashtag # in front of both lines or simply delete the lines, save and reboot. To disable the backlight I used the app capacitive buttons: https://play.google.com/store/apps/details?id=org.sleepydragon.capbutnbrightness.
And Voila. Worked in both sense 6 4.4.2 and cm11 nightlies. m8 what?
Click to expand...
Click to collapse
This is an awesome mod! Could you put up higher resolution pics and/or a video? Thanks!
Given this mod is there any way to disable the virtual menu button that shows up in some apps? It seems that these apps thinks there is no menu button this phone. At least when using Sense-based roms.
Example: Battle.Net Authenticator
guy4jesuschrist said:
Thanks for sharing this! I was hoping there was an Xposed or other root app that lets you enable the stock navbar without having to edit any files directly, but this isn't too difficult, and I've created a backup of my build.prop.
Btw, @psycho_maniac, I tried searching the settings of LMT to do this, and didn't see any options. :/
Click to expand...
Click to collapse
What do you want LMT to do? I've been using it a lot lately on my nexus 6 so I'm curious.
psycho_maniac said:
What do you want LMT to do? I've been using it a lot lately on my nexus 6 so I'm curious.
Click to expand...
Click to collapse
I'm not looking for it anymore, but at the time, I was looking for a way of enabling the built in navbar, without modifying system files. Kinda like how an Xposed module could be used to enable the hidden heads up feature in KitKat.
guy4jesuschrist said:
I'm not looking for it anymore, but at the time, I was looking for a way of enabling the built in navbar, without modifying system files. Kinda like how an Xposed module could be used to enable the hidden heads up feature in KitKat.
Click to expand...
Click to collapse
oh i was referring to LMT because I just wanted them turned off completely since my new phone (at the time) had the nav bar (oneplus one) and it was hard getting used to only have 2 buttons on the bottom of the htc m7. Now that I use LMT for my main launcher I even turn off the navigation bar. Its pretty sweet. You can have up to 24 shortcuts. I have the nexus 6 now and love it!
It helped me alot my home button got stuck and was pressing it self all the time, Thanks dude
I use a black tape and some transparent tape to cover the buttons .. Lol its look very weird but anyways , its cool ..
Sent from the air
HTC One Max
hi good afternoon i want ask if you can update your project for htc one max ?

Gemini Keyboard Shortcuts

Got my Gemini on Saturday and just working my way around it.
Was looking at shortcuts for the Gemini Keyboard and found the documentation, however all shortcuts are a combination of a key labelled ? (magnifying glass) plus another key.
For the life of me I cannot find the key that is supposed to be the magnifying glass.
Anyone know which key this is supposed to be
Thanks in advance
larah said:
Got my Gemini on Saturday and just working my way around it.
Was looking at shortcuts for the Gemini Keyboard and found the documentation, however all shortcuts are a combination of a key labelled (magnifying glass) plus another key.
For the life of me I cannot find the key that is supposed to be the magnifying glass.
Anyone know which key this is supposed to be
Thanks in advance
Click to expand...
Click to collapse
I think those docs are for generic android with a keyboard; google has been pushing putting a "search" key directly onto keyboards.
The gemini shortcuts are mostly the "Fn" key plus another, which should be labelled. e.g. on mine (UK kbd):
ESC: "back" key, or hold down for "Power"
Fn+ESC: "power"
Fn+D: Android "home" key (desktop, not to be confused with traditional editing "home" key)
Fn+A: Android "recent" key (App switcher)
Alt+Tab: App switcher (standard android binding)
Fn+C: Volume down
Fn+V: Volume up
Fn+B: Brightness down
Fn+N: Brightness up
Fn+Alt: Phone app
Fn+Del: Settings
Fn+T: Mute microphone
Fn+R: Screenshot
etc.
Hope I am not hijacking this thread, but continued question about Fn usage
How does one get all the "strange" characters from the keyboard?
By strange, I mean stuff like "{}[]`/" and similar ones.
From the keyboard looks (symbols imprinted at the bottom of the key) I assumed its a combo of Fn+symbol, but it doesn't work.
I am using US keyboard layout and set to use Gemini keyboard as input method.
matrix200200 said:
How does one get all the "strange" characters from the keyboard?
By strange, I mean stuff like "{}[]`/" and similar ones.
From the keyboard looks (symbols imprinted at the bottom of the key) I assumed its a combo of Fn+symbol, but it doesn't work.
I am using US keyboard layout and set to use Gemini keyboard as input method.
Click to expand...
Click to collapse
Did you figure this out? I'm trying to find that out now too.
It is [Fn] +'/ ' to bring up the symbols keyboard and you can select them from there. {}[]℅™®©¥¢√π∆~ etc...
Function key
Veritas06 said:
Did you figure this out? I'm trying to find that out now too.
Click to expand...
Click to collapse
When you use the Gemini Keyboard app to configure the Gemini US English layout there is actually one more step it seems. Once you've gone through the setup you should receive a notification to configure your keyboard. Select this and select the Gemini keyboard and you will be good to go. I ignored the notification for a while, believing it was prompting me to go through the setup process again but that was not the case.
Hope this helps.

Categories

Resources