Hi guys. I have not found this topic on XDA. I am apologize, if still exists. It is only little trifle, but it is doing big work for me.
Change HKLM/HARDWARE/DEVICEMAP/TOUCH/BUTTONS/3/Area (it is working on opened system only)
from:
"341,810 480,910"
to:
"341,810 480,860".
Now you can hold WP7 phone normally and no mistake bing occures.
I am working on five buttons solution (adding buttons for copy/paste and for killapp), wait for results...
A few questions...
Does this increase the time that you have to press the search button to open the search form?
And what do you mean for "opened system"? Do you mean Interop-Unlock?
I can't see any BUTTONS folder in TOUCH folder, I have a Samsung Omnia 7 with Mango 7740.
Yeah, I think so. When you apply this edit, you'll have to press and hold the search button for a short time so you don't accidentally press it. Cool find, there - would be great if it really works. I have to try that one out for sure.
And I think that he means you have to have access to your registry...
Looking forward to this.
Looking at the registry key, I guess this is to reduce the area of the softkey button so that if you click near the magnifier, the search form won't be activated.
But I still can't find that registry key on my phone
what this does for me (HTC 7 Mozart, DFT v3) is disable the search button alltogether.
EDIT:I just realized that it doesn't really. The value changes the *vertical* area the button is registered. Setting a more reasonable value (880 or 885) makes the search button work again, but you have to press closer to the screen.
AshleyT said:
A few questions...
Does this increase the time that you have to press the search button to open the search form?
And what do you mean for "opened system"? Do you mean Interop-Unlock?
I can't see any BUTTONS folder in TOUCH folder, I have a Samsung Omnia 7 with Mango 7740.
Click to expand...
Click to collapse
I am not sure. I have it from DFT 7740 ROM installing. But, on unlocked NoDo (dev unlock, on Mango must be more) befor this ROM, I seen similar keys after its creating. And after "key creating" it has also subkeys and values.
May be it is HTC accorded, but I mean not.
Localhorst86 said:
what this does for me (HTC 7 Mozart, DFT v3) is disable the search button alltogether.
EDIT:I just realized that it doesn't really. The value changes the *vertical* area the button is registered. Setting a more reasonable value (880 or 885) makes the search button work again, but you have to press closer to the screen.
Click to expand...
Click to collapse
You must press only area between center of button and applications screen. When press all button, this is not working. With higher value is area bigger, but for me too much (I had very offen Bing instead working app).
FYI, the numbers you are messing with are screen coordinates. The soft buttons are extensions of the same touchscreen used for the display. The display is 800 pixels tall and 480 pixels wide. It appears that the Bing button is typically 101 pixels tall (810 to 910, with a 10-pixel gap beneath the screen before it registers) and 140 pixels wide (341 to 480). The numbers defined in that registry key are for tweaking the boundary box that defines the part of the touchscreen considered to be the Bing button.
BTW, there's no guarantee that the registry key exists on all phones (for example, it would have no meaning on a phone with physical buttons) and even where it does exist, the values quite likely vary between devices. Also, it may be a permissions-restricted key, which means a registry editor can almost certainly tweak it (they use high-privilege DLLs) but a registry browser (aside from WP7 Root Tools) won't be able to see it's there (since browsing is done with a low-privilege DLL).
Yes, it is only for unlocked native WP7 phones. Different values may be tried by phone type and by resizing area user wanting. I have wrote my factory values here - I have changed it to one half to be happier with my Search button. Everybody can make it how he want by his factory vaues.
The best value is probably 870.
Will this work on the HD7 ??
I have noticed this too that even when you press closer to the search button...it still recognizes it as a touch and the bing screen pops up !!
backlashsid said:
Will this work on the HD7 ??
I have noticed this too that even when you press closer to the search button...it still recognizes it as a touch and the bing screen pops up !!
Click to expand...
Click to collapse
Mine is working. Just reboot your phone and it works!
HTC HD7 (T-Mobile)
Thanks Martin7Pro!
linch said:
Mine is working. Just reboot your phone and it works!
HTC HD7 (T-Mobile)
Thanks Martin7Pro!
Click to expand...
Click to collapse
Thanks for confirming. Will do.
Cant find this value on omnia 7, any ideas? I have costom unlocked ROM
Related
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?
Hi!
Is it somebody using any kind of Button Mapper? And how it works for you?
I have tryied few:
Vito Button Mapper didn't work at all.
Dabble launcher ... this soft can see only 4btns: GPS, Recording, Internet and Camera (Recording didn't work properly, gives me some kind of mistake with buttons.exe)
And last one what I tried it was AE Button Plus (but I didn’t have enough time to take a closer look on it)
So, what is you experience? Any luck?
j0kkk3r said:
Hi!
Is it somebody using any kind of Button Mapper? And how it works for you?
I have tryied few:
Vito Button Mapper didn't work at all.
Dabble launcher ... this soft can see only 4btns: GPS, Recording, Internet and Camera (Recording didn't work properly, gives me some kind of mistake with buttons.exe)
And last one what I tried it was AE Button Plus (but I didn’t have enough time to take a closer look on it)
So, what is you experience? Any luck?
Click to expand...
Click to collapse
In the past for the S200 (PROPHET ) we used a very nice applet, Softkey applet.
I am wondering if anyone has used that on the ARTEMIS.
Gerigo-Greece said:
In the past for the S200 (PROPHET ) we used a very nice applet, Softkey applet.
I am wondering if anyone has used that on the ARTEMIS.
Click to expand...
Click to collapse
Try it yourself and report to the forum
Have tried it. Softkey Applet That is and it works nicely on the ARTEMIS.
The applet can be found on this forum under another link.(Prophet-Softkeys)
No, I am not looking for soft key applet ... My Soft keys working fine (and I have already installed soft for it, it comes in the rom) I can change them as I want ... But the question was: That I want to find soft which gives you opportunity to do a: Double click, Press and hold and etc.
Thanks ...
AE button plus
Here's an older reply of mine to a similar request for a button mapper.
Must have application for onehanders is a small utility called AE Button Plus at http://ae.inc.ru/aebplus.php. This allows you to map any number of system functions and applications to buttons (each button can acquire 3 more functions by double, triple and long press). For instance, I have mapped the mouse courser to a double click of a button. I have also mapped my ok button so that it really closes applications on a long press.
I know I sound like a sales rep but I am just a appreciative user.
apap said:
Here's an older reply of mine to a similar request for a button mapper.
Must have application for onehanders is a small utility called AE Button Plus at http://ae.inc.ru/aebplus.php. This allows you to map any number of system functions and applications to buttons (each button can acquire 3 more functions by double, triple and long press). For instance, I have mapped the mouse courser to a double click of a button. I have also mapped my ok button so that it really closes applications on a long press.
I know I sound like a sales rep but I am just a appreciative user.
Click to expand...
Click to collapse
Yes, I have tryed it ... but what about "Win" buttoon? What eppening when you press it? On my device its gives me button.exe mistake ... did you had any problem with that soft?
Cheers
j0kkk3r said:
Yes, I have tryed it ... but what about "Win" buttoon? What eppening when you press it? On my device its gives me button.exe mistake ... did you had any problem with that soft?
Cheers
Click to expand...
Click to collapse
jokkk3r - You are getting the buttons.exe error because you had Vito
Button Mapper installed at one time. I assume that you uninstalled it after you found that it didn't work (I did the same) - however, even after uninstall of Vito, any button that is not remapped by another app or by you through the standard WM5 button console will be stuck with the registry values that were assigned by Vito. So when that button is pressed again, the registry is telling it to look for the Vito software (called buttons.exe) that you have uninstalled. Hence, the error "buttons.exe not found."
Long story short, just disable any button mapping app you have running and then use the WM5 console to remap all problem buttons (even if it looks like they are already set.) Then start using your button mapping app again and the error should be gone.
By the way, I had the same problem with my record button (on press and hold) with Double Launcher. Single press, double press, and triple press would work, but press-and-hold would give me the error. That's how I found this solution. I still use Double Launcher despite the fact that it only sees 4 buttons (4x4=16 mappings is more than enough for me to try to remember! ) As I said - to get the press and hold function to work, you have to first disable DL and remap that function to whatever you want within WM5 - then use DL to remap the other 15 functions and the one you mapped in WM5 should remain (just don't assign anything to record button press-and-hold within DL)
Have tried it. Softkey Applet That is and it works nicely on the ARTEMIS.
The applet can be found on this forum under another link.(Prophet-Softkeys)
psargent said:
jokkk3r - You are getting the buttons.exe error because you had Vito
Button Mapper installed at one time. I assume that you uninstalled it after you found that it didn't work (I did the same) - however, even after uninstall of Vito, any button that is not remapped by another app or by you through the standard WM5 button console will be stuck with the registry values that were assigned by Vito. So when that button is pressed again, the registry is telling it to look for the Vito software (called buttons.exe) that you have uninstalled. Hence, the error "buttons.exe not found."
Long story short, just disable any button mapping app you have running and then use the WM5 console to remap all problem buttons (even if it looks like they are already set.) Then start using your button mapping app again and the error should be gone.
By the way, I had the same problem with my record button (on press and hold) with Double Launcher. Single press, double press, and triple press would work, but press-and-hold would give me the error. That's how I found this solution. I still use Double Launcher despite the fact that it only sees 4 buttons (4x4=16 mappings is more than enough for me to try to remember! ) As I said - to get the press and hold function to work, you have to first disable DL and remap that function to whatever you want within WM5 - then use DL to remap the other 15 functions and the one you mapped in WM5 should remain (just don't assign anything to record button press-and-hold within DL)
Click to expand...
Click to collapse
psargent I am really appreciating it. It’s solved my problem, and even the recording button doing everything what I need You are the man
Cheers ...
SPB pocket plus
softkey applet lets you change only 2 soft buttons
And SPB pocket plus do the rest of work - 6 other buttons are remmapable
And SPB plus also give you the really close applications button and many many more...
I`m using softkeya applet + spb pocket plus - it`s great
Instead of IE I mapped the alt-tab button
Instead of GPS - close app button
Instead of camera at the right side - rotate screen
Left soft key - Explorer
Right soft key - Contacts
j0kkk3r said:
psargent I am really appreciating it. It’s solved my problem, and even the recording button doing everything what I need You are the man
Cheers ...
Click to expand...
Click to collapse
Glad to help! Have a great day!
Sorry if this was mentioned before but there is a way to create a d-pad using the AE Button Plus
http://ae.inc.ru/aebplus.php
I did it using the increase and decrease volume and changed them to up and down scrolling,
Thanks
pantelis25 said:
Sorry if this was mentioned before but there is a way to create a d-pad using the AE Button Plus
http://ae.inc.ru/aebplus.php
I did it using the increase and decrease volume and changed them to up and down scrolling,
Thanks
Click to expand...
Click to collapse
The reason Rhodium doesn't have a D-pad in the first place is because you are suppose to use the phone with the qwerty keyboard out most of the time.
poetryrocksalot said:
The reason Rhodium doesn't have a D-pad in the first place is because you are suppose to use the phone with the qwerty keyboard out most of the time.
Click to expand...
Click to collapse
It doesn't have a dpad because a) they thought it didn't need one because dpads are so 2005 and b) there wasn't room for everything and reviewers are already fond of calling it a brick.
I didn't notice AEB+ using the zoom bar as a dpad, but that's the hack I'm hoping for. Maybe it can capture the zoom bar action, I'm just not sure.
fortunz said:
It doesn't have a dpad because a) they thought it didn't need one because dpads are so 2005 and b) there wasn't room for everything and reviewers are already fond of calling it a brick.
I didn't notice AEB+ using the zoom bar as a dpad, but that's the hack I'm hoping for. Maybe it can capture the zoom bar action, I'm just not sure.
Click to expand...
Click to collapse
Just trust me on this...the reason is that the keyboard qwerty is good enough"
Think about PLEASE!!!!!
Why the hell would you buy a phone with qwerty keyboard, ctrl, arrow keys, and proper function indicators? Obviously because you rely on those.
And if you rely on those than you obviously already have a D-Pad called "Arrow Keys" and "Enter/Select Key"
Also don't you find it absolutely ****ing pointless to have a volume control keys be used as a scroll wheel when you lack a freaking "select" button?
Man what are you people thinking!!!!!!!!!!!!!!!!!!!!!
Why would you use up and down with volume rocker just to highlight an item and then tap on the same exact item to select it.
Why would you use a freaking volume rocker to scroll down a page when you obviously can do it better with a freaking stylus?
The same goes for the zoom bar!!! That ludicrously illogical to use zoom bar to highlight items and then having to get the stylus out to tap it. Waste of time and efficiency without a freaking "enter/select key"
Think aF***ingBout It! Please!!!!!!!!!!!!!!
poetryrocksalot said:
Why the hell would you buy a phone with qwerty keyboard, ctrl, arrow keys, and proper function indicators? Obviously because you rely on those.
Click to expand...
Click to collapse
In order to type. It is entirely possible, and preferable to some to navigate without always having it open.
Now, about your caffeine intake...
fortunz said:
In order to type. It is entirely possible, and preferable to some to navigate without always having it open.
Now, about your caffeine intake...
Click to expand...
Click to collapse
haha that's hilarious
DPad Desire
I just got my TP2 a few days ago, my personal desire would be a DPAD app that uses the whole keyboard, so generically pressing rowards the left of the keys is left (like Q,W,A,S,D), towards the top is up (like 4,5,6,R,T,Y) etc. etc.
Then an assignable button for select, like space bar or FN.
Anyway, it would make sense to me and be easier to use especially for games , I find the DPAD being on the bottom right a bit annoying but they've done a good job fitting it all in!
Calm the hell down! How old are you, 12? The dpad is nice when you are only holding the phone with one hand. It is nearly impossible to use it with one hand while open. If your reasons why it doesn't have a dpad were true then the last 4 generations of HTC sliders wouldn't have a dpad. It doesn't have a dpad for multiple reasons including the iPhone's lack of a dpad, how a USABLE (Touch Pro!) dpad doesn't look good, and the lack of room on the front.
Up/Down without enter is still somewhat useful if you are reading something while only holding the phone with one hand. You can always map something else to be enter, like long press on start or back. I will DEFINITELY experiment with this once AT&T releases the Touch Pro 2 since I still do use it on my TP.
If only they put a ball or sensor like tbe Samsung Epix and new Blackberries have it would have greatly increased one handed usability.
so HOW can you map different actions to the zoom slider? like scroll?!
petard said:
Calm the hell down! How old are you, 12? The dpad is nice when you are only holding the phone with one hand. It is nearly impossible to use it with one hand while open. If your reasons why it doesn't have a dpad were true then the last 4 generations of HTC sliders wouldn't have a dpad. It doesn't have a dpad for multiple reasons including the iPhone's lack of a dpad, how a USABLE (Touch Pro!) dpad doesn't look good, and the lack of room on the front.
Up/Down without enter is still somewhat useful if you are reading something while only holding the phone with one hand. You can always map something else to be enter, like long press on start or back. I will DEFINITELY experiment with this once AT&T releases the Touch Pro 2 since I still do use it on my TP.
If only they put a ball or sensor like tbe Samsung Epix and new Blackberries have it would have greatly increased one handed usability.
Click to expand...
Click to collapse
He spaced the hell outta himself one time.. pissing of an employee at SE so he wouldnt give us valuable info anymore on a new phone that comes out in the end of the year
pantelis25 said:
Sorry if this was mentioned before but there is a way to create a d-pad using the AE Button Plus
http://ae.inc.ru/aebplus.php
I did it using the increase and decrease volume and changed them to up and down scrolling,
Thanks
Click to expand...
Click to collapse
pantelis if you need a d-pad on a tp2.. try the acer m900.. it looks like the tp2 and has a fingerprint scanner that you can use as d-pad.. better camera with flash too.. but no tilting, ****ed up RAM, and a ****ed up KB
poetryrocksalot said:
Just trust me on this...the reason is that the keyboard qwerty is good enough"
Also don't you find it absolutely ****ing pointless to have a volume control keys be used as a scroll wheel when you lack a freaking "select" button?
Man what are you people thinking!!!!!!!!!!!!!!!!!!!!!
Why would you use up and down with volume rocker just to highlight an item and then tap on the same exact item to select it.
Why would you use a freaking volume rocker to scroll down a page when you obviously can do it better with a freaking stylus?
QUOTE]
this may be your oponion, but that's no reason for putting other people down.
personnaly i use the volume buttons as up/down. thsi works very wel if you are scrolling in your emails. if i want to clean up my mailbox i can scroll the mails and delete them with my left soft-key. ik i tap the email is opened, but i dont always want to open the mail because this is time-consuming.
So you see, for some people these functions can be very usefull.
So please have an open mind en don't think you opinion is the only one.
Click to expand...
Click to collapse
xdadJeroen said:
pantelis if you need a d-pad on a tp2.. try the acer m900.. it looks like the tp2 and has a fingerprint scanner that you can use as d-pad.. better camera with flash too.. but no tilting, ****ed up RAM, and a ****ed up KB
Click to expand...
Click to collapse
Ive seen the reviews. The OS is bs its generally a bs phone. Wouldnt bother with it. Although fingerprint scanner is very cool.
On topic: SCROLL WITH ZOOM BAR! Had the wheel as a scroller on my TP and i want similar on my TP2
poetryrocksalot said:
The reason Rhodium doesn't have a D-pad in the first place is because you are suppose to use the phone with the qwerty keyboard out most of the time.
Click to expand...
Click to collapse
What about the Topaz? It doesn't have a QWERTY keyboard or a D-pad.
poetryrocksalot said:
Just trust me on this...the reason is that the keyboard qwerty is good enough"
Think about PLEASE!!!!!
Why the hell would you buy a phone with qwerty keyboard, ctrl, arrow keys, and proper function indicators? Obviously because you rely on those.
And if you rely on those than you obviously already have a D-Pad called "Arrow Keys" and "Enter/Select Key"
Also don't you find it absolutely ****ing pointless to have a volume control keys be used as a scroll wheel when you lack a freaking "select" button?
Man what are you people thinking!!!!!!!!!!!!!!!!!!!!!
Why would you use up and down with volume rocker just to highlight an item and then tap on the same exact item to select it.
Why would you use a freaking volume rocker to scroll down a page when you obviously can do it better with a freaking stylus?
The same goes for the zoom bar!!! That ludicrously illogical to use zoom bar to highlight items and then having to get the stylus out to tap it. Waste of time and efficiency without a freaking "enter/select key"
Think aF***ingBout It! Please!!!!!!!!!!!!!!
Click to expand...
Click to collapse
OMG. Somebody is a grumpy-pants and got up on the wrong side of the bed.
This phone would be almost perfect if it had a scroll wheel or a D-pad. This device uses WM6.1 and this is the norm for WM6.1 (this may change with WM6.5)
I can easily envision how the use of the zoom bar or the volume buttons as a scroll wheel or d-pad replacement could work efficiently and better than the "freaking" stylus. All because you lack the vision to make it work doesn't mean that it cannot work well.
For example. The zoom bar could have five zones: up, left, select, right, & down. Just put some tape over the zoom bar with the map, and viola.
Also, what about phones like the Topaz? Where's the "freaking" arrow keys or the enter/select key?
You may be content with the phone, but others may not.
So I'm looking at remaping the soft keys (specifically the search) on the front of the phone. There appears to only be one "SEARCH" in the /system/usr/keylayout/vision-keypad.kl - key 217 (see code below) - that if changed has the following 2 effects:
1. Alters the functions of both the soft key on the front of the phone and the search key on the hardware keyboard. When I remap one, they both change to match your modification.
2. When changed, long press functionality of the soft key is lost. It will only accept a short press.
"SEARCH" can be successfully changed to "MENU", "BACK", and "CALL" (possibly others I have not tried) then pushed to the phone in recovery and function perfectly. However, when I map it to be the "POWER", the soft key does nothing on press, while the hardware search key on the slide-out works fine.
Has anyone found a way around this?
We remap the track pad to wake because we dont like using the top mounted power button, but it only does a half-ass job because when you want to shut the screen back off, you still have to reach for the power button. I think the track pad wake mod needs its own 'bacon bits'
Code:
# column 0
key 185 USER3 WAKE_DROPPED
key 100 ALT_RIGHT WAKE_DROPPED
key 217 SEARCH WAKE_DROPPED
key 28 ENTER WAKE_DROPPED
key 38 L WAKE_DROPPED
key 14 DEL WAKE_DROPPED
key 54 SHIFT_RIGHT WAKE_DROPPED
I think you're out of luck with regard to an easy fix. I just did a quick experiment with evtest and it looks like the softkeys on the screen are just areas of the touchscreen that the window manager treats specially and generates synthetic key events in response to touches on, instead of being actual mappable keys.
teferi said:
I think you're out of luck with regard to an easy fix. I just did a quick experiment with evtest and it looks like the softkeys on the screen are just areas of the touchscreen that the window manager treats specially and generates synthetic key events in response to touches on, instead of being actual mappable keys.
Click to expand...
Click to collapse
Well the are mappable. I managed to make it be the menu button and the back button just fine. It just doesnt want to be the power button..
The same key can be used as a single quick press or a long press. It is considered two different keys though. So you would have to figure out what the long press equivalent of the search button would be and change that one.
The way this thread can stay in developmental, is show steps on how you are remapping the keys.
For others to gain knowledge or this thread is moving to Q&A
Mikey1022 said:
The way this thread can stay in developmental, is show steps on how you are remapping the keys.
For others to gain knowledge or this thread is moving to Q&A
Click to expand...
Click to collapse
Maybe I'm off here, but if I was making this post to show the steps, would that not fall under a "How To" or "Guide"? My goal here is development. Development –noun 1. the act or process of developing; growth; progress. Or in my case, I'm in the act/process of developing a remapped key file to make the search soft key into a power key, and to then share with the rest of the forum. My progress so far is that I've managed to map it to a menu key and a back key with no problems, and am reaching out to others for help as to why it is that when I change it to the power key, it doesn't accept my changes.
Its kinda a gray zone, in that if I were to successfully remap it to the power button and post the file here, it would, technically speaking, be less of a development thread than it is now - because it would be finished developing and instead, merely contain a file with instructions.
However, as requested, and for those who are interested:
The file you are looking for, is as mentioned in the OP, "vision-keypad.kl" and is located in /system/usr/keylayout. You can edit it with a text editor like Notepad++. The line that I am looking at, also refer to OP, is key 217.
I'm thinking now, after messing with it some more, that maybe because it is a soft key it cant be mapped to power, being that as soon as the screen shuts off it no longer functions... But then again there exists widgets that, upon press, turn off the screen and they function fine, so I see no reason this shouldn't. I'll keep you posted on what I find, and would appreciate any help in the mean time.
i'd love to be able to map a longpress menu and a longpress back action. Cyanogen 6.1 allows longpress back to be turned into force kill foreground process. So there is a way to capture longpress on those 4 keys, the question is, what does the system read that keypress as and how can it be mapped.
sundar2012 said:
i'd love to be able to map a longpress menu and a longpress back action. Cyanogen 6.1 allows longpress back to be turned into force kill foreground process. So there is a way to capture longpress on those 4 keys, the question is, what does the system read that keypress as and how can it be mapped.
Click to expand...
Click to collapse
So it is doable! There are some .bin files in the /system/usr/keychar folder that correspond to the .kl files in the ../keylayout folder, but i havent been able to read them. Maybe thats it.. Gonna figure that out when I land tomorrow and get my computer set up
I changed the Search function key to Camera and it only works on a long press and I get no result on a short press. So maybe the function you are trying to rename the Search key to has to be specific to either way i.e. short or long press but not both.
So it will either work as a long press key for some functions or a short press key for others.
Read the window manager source (from AOSP or CM), determine what scancodes it synthesizes in response to touches or long-touches on the softkeys, edit keylayout accordingly.
Doesn't ButtonRemapper from Android App Dev section work on G2? :S
hey guys, i dont know if you all figured this out or not, I just got the g2, and to remap the key to power button you have to change it to "ENDCALL" not "POWER", after, reboot and voila! your search button now acts like a power button!!!!! Hope this helps!!!!!
Need to Map Back button to one of the soft key
Rceently I bought HTC Desire Z (no warranty), and I am facing the problem with 4 bottom buttons of the touch screen (menu, back, home and search). So I am planning to do hardware map for one of the softkeys to BACK button.
Could you please provide me step-by-step installation of all the softwares and the procedure I need to do for updating "vision-keypad.kl" file. Appreciate your help.
My one more doubt is that what is the difference between "WAKE_DROPPED" & "WAKE". I have seen these keywords in ".kl" file in GITHUB.
Please give me reply ASAP. I am frustrated with the way the mobile is working. Just imagine how it will be if back button stop working and you are in the middle of some application. I restarted my mobile some dozens of times.
[Info]:
My only gripe about the trackpad wake mod (while it is awesome), is that we do it in order to avoid reaching for the awkwardly placed power button, but then we still have to reach for it anyway when we want to shut the screen back off. So it only helps us for half of the task.
After trying to find a way to directly map the search soft-key (or any of the soft-keys) to a power button, and failing, I've decided to come at it from a different angle. Attached you'll find a very simple app, that simply turns off the screen when clicked, along with instructions on how to map it to the search soft-key or the rosie button for sense users.
[Options]:
1. Search key short press. This is the method I use, as it is both the fastest and accessible from within any app. It will completely replace the search key. Single-tap it at anytime to turn off the screen. You'll need to install the app, and push the keyboard remapping file that I have also attached. Note that there are 2 different key mapping files, one for Sense ROMs and another for Vanilla. They will make the following changes:
Sense version:
-Search soft-key is now mapped to the user programmable key #2. Set it to open the Kill Screen app.
-www/com key is now TAB.
-USER 3 key, which didn't work anyway, is now BACK.
-USER 2 key, which is now not needed, is HOME.
-USER 1 key (left of the space bar) is left as normal.
Vanilla version:
-Search soft-key is now mapped to the user programmable key #3. Set it to open the Kill Screen app.
-USER 3 key, which is now not needed, is now BACK.
-USER 1 and USER 2 are left as normal.
2. Rosie's right button. This is for those who want to keep the search key as normal. See my rosie remap thread here for the option to have it launch when you press the right dock button. Keep in mind you still need to install the app, and you'll (obviously) have to be viewing one of the home screens to press it.
NOTICE: Do not post asking me to adapt this key layout to your needs, as we will end up with 500 different files before long. Instead, change it yourself! Editing this file is about as easy as it gets. You don't need anything special installed, or any programing experience whatsoever. Simply open the attached (or your own) vision-keypad.kl in any text editor (Notepad, Notepad++, etc) and change your desired key to your desired function. If you want to know what key corresponds to what number, you can boot to clockworkmod recovery --> advanced --> key test. Touch any key on the phone, and it spits out the number.
NOTICE #2: As with any app that is given administrator permissions, you will need to remove the app from the admin list in order to uninstall it. Menu --> Settings --> Security --> Select Device Administrators --> Uncheck Kill Screen. Then uninstall as normal. You will be reminded to do this when you first give the app the admin permissions.
[How To]:
Method 1 - Install the app, then grab a copy of the modified key layout and then reboot to recovery and enter this code:
adb shell mount /system
adb shell rm /system/usr/keylayout/vision-keypad.kl
adb push [your saved file location]\keypad_owamod_xxxxx.kl.zip /system/usr/keylayout/vision-keypad.kl
Reboot and enjoy.Method 2 - Install the app first, then see the linked thread for how to get the modified rosie.apk
That's pretty awesome Will definatley try out when I get a Z
Great news but something like that exists already for a few monts:
http://forum.xda-developers.com/showthread.php?t=795811
I used it on the Nexus One and now on the Desire Z.
Works great! Thanks a lot!!
g4rb4g3 said:
Great news but something like that exists already for a few monts:
http://forum.xda-developers.com/showthread.php?t=795811
I used it on the Nexus One and now on the Desire Z.
Click to expand...
Click to collapse
Not quite.
You should read the whole post, people fail to do so far too often on this forum. Of course the app exists, there are multiple versions, both pay and free, on the android market and floating around the forums.
What does not exist, is the remapped key file to make the app launch with a short press of the search key (method #1) and the remapped rosie buttons to launch the app from the right dock button (method #2).
The only method I really cared about is the short-press search button (method #1), which completely replaces the search button, so that it functions to turn off the screen (like it should have been from the factory) like the G1. This also allows it to work while the screen is still locked, so you can single press the trackpad, check the time/messages/missed call, then turn the screen back off without ever unlocking it! But I made this mod and guide, so that you have THREE options: the long-press method (like the one that you linked to) AND two NEW ways.
Using all of the default files while running CM 6.1.1 Colourized, I can get my DZ to sleep only by long-pressing the Search button, not a short-press.
I checked the .kl file and confirmed the USER2 key is 217 and that matches my Key Test number in Recovery.
A short-press of my Search button doesn't do anything.
I've set KillScreen as the default app for the long-press and it works as it should, but I'd like to leave that as a Search (Vlingo) button and have a short-press go directly to KillScreen.
Suggestions?
I tried the Rosie_killscreen.apk , it installs ok i get the little power icon on my Rosie launcher bar but when I press it, it doesn't do anything, I tried to re-download the file in case it was corrupt and re-install it but the same thing happens, nothing. I installed the Rosie_contacts.apk and it work fine but can get the Rosie_killscreen.apk to work. Has anyone gotten the Rosie_killscreen.apk to work?
EDIT- My fault forgot to install the main app..... Sorry, let me try this again.
Update: The app works great on the Rosie_launcher, Just a reminder to install the KillScreen.apk first, then follow the process for pushing the app to the Rosie launcher.
I like this very much!! I have Launcher Pro Paid and I have set it up as one of my swipe options on the dock.
I use cm6.1.1 lockscreen gestures and the "screen off and lock" app. I setup a gesture of "L" and link the gesture to the "screen off and lock" app so when I am on the lockscreen and do a "L" gesture and it shuts off the screen. I also have it set as a shortcut in the dock for adw launcher too so I can lock/screen off just by pressing it. So far it works great.
B73C said:
Using all of the default files while running CM 6.1.1 Colourized, I can get my DZ to sleep only by long-pressing the Search button, not a short-press.
I checked the .kl file and confirmed the USER2 key is 217 and that matches my Key Test number in Recovery.
A short-press of my Search button doesn't do anything.
I've set KillScreen as the default app for the long-press and it works as it should, but I'd like to leave that as a Search (Vlingo) button and have a short-press go directly to KillScreen.
Suggestions?
Click to expand...
Click to collapse
I'm not really sure what the issue is. If you choose the method where Kill Screen acts as the short-press search, you will not have a long press function anymore.
I'm experiencing a problem with the long press method where the screen turns off for a second but immediately turns back on to the lock screen. Manually launching the app shuts off the screen properly. Anyone else getting this?
I am having problems downloading the 2 .zip files
I use the one called "Lock Screen Button" in the market. It's simple and the icon is very clean.
cyricc said:
I'm experiencing a problem with the long press method where the screen turns off for a second but immediately turns back on to the lock screen. Manually launching the app shuts off the screen properly. Anyone else getting this?
Click to expand...
Click to collapse
After a bit of testing I'm pretty sure this has something to do with the capacitive buttons remaining active for a very brief time after the screen shuts off: since the search button is held while the kill screen action runs, it immediately triggers wake. Pressing the power button while holding down any of the capacitive buttons has the same effect (screen turns off then back on to lock screen).
I'm guessing this can be fixed by adding a delay to turning the screen off. Or by setting the capacitive buttons to not wake the screen somehow.
Can't uninstall kill screen app
I installed the KillScreen.apk, however if I try to uninstall the app via the manage applications I get "Uninstall not succesful" and app is still in my applications list.
How can i permanently remove the KillScreen.apk?
As for the app not working properly with the long-press method, you are right, it seems to be bugging. I will take a look and hopefully get a new version up soon. The other two methods work ok, but I don't use that method, so I didn't do enough testing
LQT said:
I installed the KillScreen.apk, however if I try to uninstall the app via the manage applications I get "Uninstall not succesful" and app is still in my applications list.
How can i permanently remove the KillScreen.apk?
Click to expand...
Click to collapse
This is the second time in one thread I've had to quote someone and tell them to READ. Do they not teach you kids to read in school anymore? READ PEOPLE. You are working with rooted phones in a programming development forums, you SHOULD have some smarts to you.
Since you missed the "--WARNING!!!!---:READ:---WARNING!!!!--" text in all caps across the whole screen when you first gave the app permission, allow me to take my time to type it again for you: You need to remove ANY app that has been given administrator permissions from the admin permissions list in order to uninstall it. Since you gave this app administrator permissions, you need to do so. Menu, Settings, Security, Select Device Administrators. Uncheck kill screen. There will be a pop up box. Do not just hit the ok blindly, READ that too. Then uninstall.
the1wingedangel said:
Since you missed the "--WARNING!!!!---:READ:---WARNING!!!!--" text in all caps across the whole screen when you first gave the app permission, allow me to take my time to type it again for you: You need to remove ANY app that has been given administrator permissions from the admin permissions list in order to uninstall it. Since you gave this app administrator permissions, you need to do so. Menu, Settings, Security, Select Device Administrators. Uncheck kill screen. There will be a pop up box. Do not just hit the ok blindly, READ that too. Then uninstall.
Click to expand...
Click to collapse
Dude relax, no reason to get so agitated!
I actually did press the ok blindly, the reason for that was that the phone didn't do anything after the installation. So i tried to tap the screen to make it work and by accident tapped the ok button before reading the warning post.
If you do tell people to read, please give them the information to read. Either put it in first post or put it somewhere inside the app so people can re-read it.
I managed to uninstall the app, thanks for the info.
Relax, cheers
LQT said:
Dude relax, no reason to get so agitated!
I actually did press the ok blindly, the reason for that was that the phone didn't do anything after the installation. So i tried to tap the screen to make it work and by accident tapped the ok button before reading the warning post.
If you do tell people to read, please give them the information to read. Either put it in first post or put it somewhere inside the app so people can re-read it.
I managed to uninstall the app, thanks for the info.
Relax, cheers
Click to expand...
Click to collapse
Actually I do have reason to get agitated! (Even though I wasn't that upset at the time, my posts often just come across that way) Because after 2 years of seeing stuff like this with android users, it gets very tiring! For example: the countless comments on the market for an app that says in the description "ONLY works on Nexus 1" and the commenter says "Does not work on Droid" and rates it 1 star. But I can forgive those, because its the general public. On a development forum, however, I expect nothing less than every member to have their wits about them. Though, realistically, it's probably just wishful thinking.
the1wingedangel said:
Actually I do have reason to get agitated! (Even though I wasn't that upset at the time, my posts often just come across that way) Because after 2 years of seeing stuff like this with android users, it gets very tiring! For example: the countless comments on the market for an app that says in the description "ONLY works on Nexus 1" and the commenter says "Does not work on Droid" and rates it 1 star. But I can forgive those, because its the general public. On a development forum, however, I expect nothing less than every member to have their wits about them. Though, realistically, it's probably just wishful thinking.
Click to expand...
Click to collapse
Lol! I do that same thing in my thread. It's hard to not snap on some people lots of times. I have come to the conclusion that a lot of people just don't have the brain power to read/comprehend certain things. I've had to learn to relax a bit... It's quite useless to argue with them because it just rolls off them with no worries while people like us simply struggle to understand why and end up getting pissed off. It's tough being cynical sometimes
Thanks for the little app! Just some feedback. Wanted to install method 1. Followed the steps. However, it still acts as method 3, long press on search, instead of just the short press. Running Virtuous 0.8.1.