Camera Button Anyone? - Touch Diamond2, Pure Themes and Apps

Hi I was just wondering if there was any way of setting a button eg. the Back or Hangoff button , to work as the photo capturing button only in the camera mode? and be able to work as it normally does whenever im doing something else~ thx

Hi,
this new app will allow you to remap the key you want to use. You will have to remap it to emulate Enter. It allows you to use this mapping for example only when the camera is turned on, it's really cool app

thank you so much^^ time to try it out now =)

sry could u help me with one more thing? i figured out how to remap the "back" key to emulate "enter" but i cant seem to get to to only work during camera? could u plz tell me how i can do that? thx

In the keyboard config app go to Menu > Add key
Press key you want to remap
Near the Rule field there is a plus sign, click it.
Then follow the instructions, capturing via stylus works great, you just have to launch camera and then put stylus back in.
The app will create a new rule and the mapping will work only when camera is opened.

ztracenyDen said:
In the keyboard config app go to Menu > Add key
Press key you want to remap
Near the Rule field there is a plus sign, click it.
Then follow the instructions, capturing via stylus works great, you just have to launch camera and then put stylus back in.
The app will create a new rule and the mapping will work only when camera is opened.
Click to expand...
Click to collapse
It's not entirely correct what you write. I already had that app to remap keys and it works great, didn't think I could use it to emulate enter and map it to my camera. So I did what you wrote but that didn't work. I've figured it out now and here is how I've done it:
1 - Open the remap application
2 - Press key you want to remap
3 - Near the Rule field there is a plus sign, click it.
4 - Then follow the instructions, capturing via stylus works great, you just have to launch camera and then put stylus back in.
5- Event = Click
6 - Action = Emulate key press
7 - Key = Enter
8 - Click ok
9 - Click update config
Now when I click the "end key" the camera takes a picture. This works way better then having to click on the screen itself because it doesn't matter how soft or careful you click the screen, the picture is always a bit blurry of kinda like out of focus.
Thanks for pointing out this great feature!!
Cheers

thx for the replys
i figured out that i needed to first set the 'back' key to defalut key action this allows it to work as usual whenever im doin something else, then add another funtion to the 'back' key to allow it to emulate enter only during camera ^^ if i didnt do the first step the 'back' key is just nothing when the camera isnt on ~
anywayz thx for all ur replys, now i can take great photos XD

popularpp said:
thx for the replys
i figured out that i needed to first set the 'back' key to defalut key action this allows it to work as usual whenever im doin something else, then add another funtion to the 'back' key to allow it to emulate enter only during camera ^^ if i didnt do the first step the 'back' key is just nothing when the camera isnt on ~
anywayz thx for all ur replys, now i can take great photos XD
Click to expand...
Click to collapse
Glad you figured that out. I didn't tell you that because I asumed that you just wanted to use the end key as "enter" for your camera and not as "to close a program".
I've set it to click = enter for the camera and long press give me the options to lock the phone and so on....
Cheers!

Related

Long End Key remap

Hi. Suppose I just want to remap the long end key press button to something other than the HTC dafault. Do I need AEBPlus for that? I assume that would be a overkill for remapping just one button. The HTC interal app only allows to either display the quick list or make 4 other actions. I was wondering if I can change that to something else without using the AEBPlus app. I just wanted to run the comm manager rather than the htc options
Thanks
Don't get your hopes up about AE Button cause it don't work if your using touch gl. Apparently touch fl keeps regrabning the keys so sometimes they work snd sometimes they dont. I gave up. i think ot might work better with the hold button but like i said i got frustrated snd gaveup when thr suthor told mr there was nothing he could do..
craigwillie said:
Don't get your hopes up about AE Button cause it don't work if your using touch gl. Apparently touch fl keeps regrabning the keys so sometimes they work snd sometimes they dont. I gave up. i think ot might work better with the hold button but like i said i got frustrated snd gaveup when thr suthor told mr there was nothing he could do..
Click to expand...
Click to collapse
Actually I don't need it working with the TouchFlo, as I don't use TF. I only want to remap the long end press button to the comm manager. Of course it would have been great to also map a long press on the Home button or the Back button but I think I read that's not possible even without TouchFlo ?
what no one answered ? wow i thought that's easy,a metter of registry or link change. quite disappointing.
I am also looking for a way to change the back button to run some other program...
How to assign a shortcut to EndKey, SendKey ....
Not tried myself on TP, but maybe it's useful:
http://forum.xda-developers.com/showthread.php?t=356322
Create a shortcut in your windows directory called long_end.lnk
whatever the shortcut points to will run when you long press the end key.
There are a few of these hard press shortcuts
long_end.lnk
long_send.lnk
long_power.lnk
long_ptt.lnk
short_power.lnk
short_ptt.lnk
I can remap all the buttons except the Long End. Somehow the Long End button is mapped to the phone Lock. Where can I disable that and allow for my own?
Start, settings, system tab, long press end key
if you don't see what you want there ... we might have to figure out how to disable the long press htc software
I cooked my own rom and I didn't put in long press end key. I assumed it wouldn't have installed any reg settings for it, guess I'll have to check. Thanks!
For some reason if you don't add HTC Long End to the ROM, it will stick on one setting and can't be changed. Weird, but fixable. If you install HTC End Key (the cab is somewhere on here) it will override the previous setting and then you can either select your preference from within the program or create a custom link. Not sure about the second idea working, since I haven't tried it myself, but I've been able to override HTC End Key when it was installed on previous phones. You could also consider un-installing it after installing it if all else fails.
baub said:
For some reason if you don't add HTC Long End to the ROM, it will stick on one setting and can't be changed. Weird, but fixable. If you install HTC End Key (the cab is somewhere on here) it will override the previous setting and then you can either select your preference from within the program or create a custom link. Not sure about the second idea working, since I haven't tried it myself, but I've been able to override HTC End Key when it was installed on previous phones. You could also consider un-installing it after installing it if all else fails.
Click to expand...
Click to collapse
Yeah, I recooked the Long End Key Press in, but there isn't a custom selection part of it so that must be a different version of End Key software. It's ok not too important.
AEB
Just for those who wonder, AEButton can remap everything (single, double, triple, long presses) on all keys except two: Long Green and Long Red.
You either need to disable Long End Key software or find some other way to hard map these.
Using my HTC Touch Pro. I am still unablet to map the Long press End Key to something other than the limited options that the HTC Long Press End Key program settings offer.
I simply wish to map the long press end key to run a different program. I tried the suggestion offered on this post (http://forum.xda-developers.com/showthread.php?p=1783616#post1783616) but it doesn't work. I put a file called Long_End.lnk in the windows directory, soft reset the device and still it doesn't map to that. Only displays the HTC 'quick list'.
I am not running TF3D.
Anyhelp ? To map to any program I choose ?
Thanks
So no buddy managed to map the End button long press to some other program than the options that the HTC's prg in the settings allow ?
I want to remap the End key to open Phone Weaver Profiles which is much more useful than what the HTC Long End Pressapp offers.
nik3r said:
Just for those who wonder, AEButton can remap everything (single, double, triple, long presses) on all keys except two: Long Green and Long Red.
You either need to disable Long End Key software or find some other way to hard map these.
Click to expand...
Click to collapse
That's not the full story ....
on ex: HTC HD
there are buttons:
"Green Key", -> mapping possible but without Long Press
"Home Key" -> nothing possible !!!
"Back Key" -> not really mapable (mapping possible, but always send to wanted mapping ~backspace and jump back to Homescreen and then the mapped button will execute - little bit strange ..)
Longpress also doesn't work
"Red Key", -> mapping possible but without Long Press
tried with aebutton also (last version)
some additional ideas ?
cu camel
Proto732 said:
Start, settings, system tab, long press end key
if you don't see what you want there ... we might have to figure out how to disable the long press htc software
Click to expand...
Click to collapse
HI!
I'm another one that tried everything to remap the long end key without that HTC app and no solutions.
What we really need is to know how to disable that app from the system.
Anyone help us!

[APP+DRV] [Keys remapper] Topaz Keyboard Controller GSM v1.4

This is for Topaz only! Do not try to install this on other devices!
Do not ask me to make a version for other device since my remappers are driver dependent and this can be very and very complicated without real device (if possible at all).
By requests of Topaz owners... here you are
What is it ?
It's a solution that allows you to remap ALL keys of your device.
Any key (yeah, i mean ANY, including Home and Back keys) can be reassigned to perform desired actions.
Features:
Different event types supported: single, double and triple clicks, long presses
Two modes of key mapping: three actions per key or direct key mapping
Key repeats in direct key mapping mode
Actions sequence repeats in actions mode
Key combinations using FN modifier
Default key behaviour action - you won't loose key's default behaviour if you just want to add double click or long press to it
Different key behaviour depending on foreground process/window class/window text
Multiple rules for each key to provide different behaviour for each application you want
Multiple actions for each event
Different predefined actions:
Run program
Key press emulation
Send symbol/text to active window
Close active window
Switch to window by class/text
Terminate data connection
Wi-Fi toggle
BT toggle
Screen rotation
Power management (screen power toggle, suspend, reset)
Exceptions lists which are used to deny key remapping depending on foreground process/window class/window text
Configurable long press and double click duration
Configuration import/export in configurator
Changelog is located here.
Configurator UI localization support information is located here.
Requirements:
- .NET CF 2.0 (for configurator app)
Installing:
- Install SdkCerts.cab
- Install TopazKbdControl_XXX.cab
- Soft reset
- Check if keyboard works by pressing hardware buttons and seeing if they do their work, if not - uninstall cab, this wouldn't work on your current ROM (PM me if you still want this to work on your device)
- If it works - go to the control panel and find "Keyboard Config" on a System page
How to define key processing:
- Run configurator (Control Panel -> System -> Keyboard Config)
- Press Menu -> Add key
- When dialog asking you to press key appears press and release desired key
- Set up needed options in key setup dialog and press OK (left softkey)
- In configurator's main window press left softkey "Update settings" to let new configuration take place (reboot is not needed, coz new settings will work immediately after saving)
Backup before installing of modified driver is strongly recommended.
Be careful when downloading the cab, make sure you choose the correct version suitable for your device.
Raphael's version thread here and Rhodium's one here.
CDMA owners can try to install GSM version, but i'm not responsible for any damage given to you device or information stored in it. Maybe there will be version for CDMA devices if GSM one wouldn't work.
Thank You one More Time!
tarkim, Thank you one more time for This Cool Program!
Alex from 4pda
tarkim said:
By requests of Topaz owners... here you are
Raphael's version thread and changelog here and Rhodium's one here.
Click to expand...
Click to collapse
Hi and congrats !
Do you think this app+drv could work on GSM Blackstone ???
Thx in advance
lezink said:
Hi and congrats !
Do you think this app+drv could work on GSM Blackstone ???
Thx in advance
Click to expand...
Click to collapse
nope
this version is only for Topaz since it contains its keypad driver which is hardware dependent
besides making a version for Blackstone is more complicated - it has four touch keys which are handled by other driver, not keypad one
don't think i can help with this without real device
There's an app (mobile magic) that allows to remap nearly all button (except home). Maybe this could be of any help.....
BTW, thanks for fast answer.
NICE NICE NICE
So welcome to the Topaz. A donation is on its way
Hey man
Get a PayPal please - a lot easier to donate
Core Player compatibility?
Hi, its very fine app I must say, thank you!
Unfortunately I can't get it to work with Core Player (I want to map VOL_UP/VOL_DOWN with forward/back). It seems that CorePlayer has some other way to recognize keypresses, in normal situation, there is standard HTC volume screen, and when I change CorePlayer's option "Capture all buttons (like games)" it is better (eg. no volume screen) but it sees no difference no matter if I change behaviour of key or not. It maps VOL_UP and VOL_DOWN as #E5. However, there is application which works good with Core Player, it is VolDpad (http://forum.xda-developers.com/showthread.php?t=552947) - it is different keyboard remap technique?
adek23 said:
Hi, its very fine app I must say, thank you!
Unfortunately I can't get it to work with Core Player (I want to map VOL_UP/VOL_DOWN with forward/back). It seems that CorePlayer has some other way to recognize keypresses, in normal situation, there is standard HTC volume screen, and when I change CorePlayer's option "Capture all buttons (like games)" it is better (eg. no volume screen) but it sees no difference no matter if I change behaviour of key or not. It maps VOL_UP and VOL_DOWN as #E5. However, there is application which works good with Core Player, it is VolDpad (http://forum.xda-developers.com/showthread.php?t=552947) - it is different keyboard remap technique?
Click to expand...
Click to collapse
can use explain how you configured vol up and vol down keys ? or post your config here please
in any case you should use direct key mapping mode with Left and Right key codes for VOL_DOWN and VOL_UP keys resrectively, and don't forget to turn on key repeat for each of them - in this way you will get desired forward and back in CorePlayer
Martinhdk said:
Hey man
Get a PayPal please - a lot easier to donate
Click to expand...
Click to collapse
no way to use paypal for donations - it doesn't allow to pay to my country
i hope your girlfriend use a touch HD someday and you make her a driver
the home button on touch hd is useless from now
vua777 said:
i hope your girlfriend use a touch HD someday and you make her a driver
the home button on touch hd is useless from now
Click to expand...
Click to collapse
First, how are you going to get somebody to help you with your problem, acting like that?
Second, if you installed this on a Touch HD, you are to blame yourself. This is for Topaz, not Blackstone. It clearly says for Topaz in post 1 and it says NOT for Blackstone in post 4.
Third, I'd be VERY surprised if this can not be solved. Tried uninstalling the app and soft-reset? In worst case a hard reset should sort this out.
I've installed this software and i've tryed to remap volum up/ down to page Up/down.
I've chose process and put the name of the aplication but it doesn't work, the volume up/down stop working and in the app the down / up doesnt work.
I have 2 actions 4 each key one * wich does nothing and a new one that i've created.
please help.
thanx.
franklopez said:
I've installed this software and i've tryed to remap volum up/ down to page Up/down.
I've chose process and put the name of the aplication but it doesn't work, the volume up/down stop working and in the app the down / up doesnt work.
I have 2 actions 4 each key one * wich does nothing and a new one that i've created.
Click to expand...
Click to collapse
more info please, more info...
post your config here
you have GSM or CDMA device ?
have you tried to use other settings ?
other keys continue working even after remapping ?
franklopez said:
I've installed this software and i've tryed to remap volum up/ down to page Up/down.
I've chose process and put the name of the aplication but it doesn't work, the volume up/down stop working and in the app the down / up doesnt work.
I have 2 actions 4 each key one * wich does nothing and a new one that i've created.
please help.
thanx.
Click to expand...
Click to collapse
Ok, I just tried it myself and it does work. Here is how I've done it.
1 - click menu - add key
2 - press volume up
3 - event = click - action = emulate key press
4 - key = 33 page up
5 - event = long press - action = default key action
6 - click OK
7 - click update config
This way the volume up key will work as page up (I tested this with opera only and reading a news page it worked great) when you click it ONCE and when you do a LONG PRESS it will turn up your volume.
You can repeat these steps for the volume down key and it will work too.
I've just tested this and it works. I haven't tested it within and explorer (let's say total commander) but in opera it works great for scrolling up or down a page.
Cheers!
This is a great application!
Thank you!
One request though:
First to set the context.
I've seen from other threads that (first step) you have to assign the default action to the button and then (second step) re-map the button to your desired function for the desired application.
If you don't do the first step, the respective button will behave as re-mapped for all applications.
Now the problem concerns the button's backlight.
By default, when a button is presses the backlight comes on.
Now, is it possible to disable the backlight function only when using the button in the re-mapped case? (i.e. only for the second step above and not for first step).
The main reason is to avoid draining the battery when using frequently the re-mapped buttons.
lobo81 said:
Ok, I just tried it myself and it does work. Here is how I've done it.
1 - click menu - add key
2 - press volume up
3 - event = click - action = emulate key press
4 - key = 33 page up
5 - event = long press - action = default key action
6 - click OK
7 - click update config
This way the volume up key will work as page up (I tested this with opera only and reading a news page it worked great) when you click it ONCE and when you do a LONG PRESS it will turn up your volume.
You can repeat these steps for the volume down key and it will work too.
I've just tested this and it works. I haven't tested it within and explorer (let's say total commander) but in opera it works great for scrolling up or down a page.
Cheers!
Click to expand...
Click to collapse
now it works, but 4 my application the keys are up /down.
Tanx a lot.
franklopez said:
now it works, but 4 my application the keys are up /down.
Tanx a lot.
Click to expand...
Click to collapse
You're welcome!
Bothkill said:
This is a great application!
Thank you!
One request though:
First to set the context.
I've seen from other threads that (first step) you have to assign the default action to the button and then (second step) re-map the button to your desired function for the desired application.
If you don't do the first step, the respective button will behave as re-mapped for all applications.
Now the problem concerns the button's backlight.
By default, when a button is presses the backlight comes on.
Now, is it possible to disable the backlight function only when using the button in the re-mapped case? (i.e. only for the second step above and not for first step).
The main reason is to avoid draining the battery when using frequently the re-mapped buttons.
Click to expand...
Click to collapse
It really depends on what you want to do with the keys. For example, I've reassigned the back key to single press = open total commander and long press = open pTravelAlarm. So I don't use it as default. In your case, yes you should assign the click = default action and long press = whatever you want.
Cheers.
Bothkill said:
This is a great application!
Thank you!
One request though:
First to set the context.
I've seen from other threads that (first step) you have to assign the default action to the button and then (second step) re-map the button to your desired function for the desired application.
If you don't do the first step, the respective button will behave as re-mapped for all applications.
Now the problem concerns the button's backlight.
By default, when a button is presses the backlight comes on.
Now, is it possible to disable the backlight function only when using the button in the re-mapped case? (i.e. only for the second step above and not for first step).
The main reason is to avoid draining the battery when using frequently the re-mapped buttons.
Click to expand...
Click to collapse
not clear for me what is the problem (or maybe not problem ? ) with default key action
you have to set it for any event if you don't want to loose default key behaviour, this is not strict requirement
about rules:
there is default rule (*) for all applications which is used when no other matching rule is found
key remains unremapped if you select 'do not remap' for this rule (or any other)
if you add rule for particular application and default rule has an option to not remap key, then remapping for that key would work only in this application
hope was clear enough
can't promise anything about backlight at this moment, this is not critical

[REQ] "Volume Keys as Take Picture Key" in camera application

hi
is there any application or configuration to map the volume keys -one of them or both- as the camera shutter key for taking pictures?
as I can see, the AE buttons program does not do that.
thanks
I totally second that.
What a pity that there is no physical button to take picture.
Everybody knows that touching the screen will induce vibrations and blurry pictures.
If anyone could realize this it would be awesome.
I agree,
It would have to only take pictures when the camera is on tho, dont want to use up a button all the time, there just arent enough of them!
+1 also would like to have something like this
goog idea, count me in on this
+1 it was only a matter of time till this thread would appear
Volume keys CAMERA
Hi, with AEBplus you can easy do this.
Go AEBplusSettings=>Volume Down and set: 1: Volume Down 2: "Anything you wish" Long:"Camera"
OK
Now camera will start with the long press of the Volume Down key
vaskodogamagmail said:
hi
is there any application or configuration to map the volume keys -one of them or both- as the camera shutter key for taking pictures?
as I can see, the AE buttons program does not do that.
thanks
Click to expand...
Click to collapse
ilyachelsea said:
Hi, with AEBplus you can easy do this.
Go AEBplusSettings=>Volume Down and set: 1: Volume Down 2: "Anything you wish" Long:"Camera"
OK
Now camera will start with the long press of the Volume Down key
Click to expand...
Click to collapse
you missed the issue.. we would like to take pictures with a button, not start the camera itself..
thanks
it is great that some people here liked my idea I am impressed.
so if anyone here can make a mapping program for the camera application to take a picture when one or one of the volume keys are pressed to take a picture would be GREAT. because it is the most lacking option that HD2 has.
Thanks again everyone.
I guess it will be difficult...
But I'm sure someone can develop it. There are many talented people here at xda .
I think Green button will be better because if you to take a photo he is "friendly finger".
G-ThGraf said:
I think Green button will be better because if you to take a photo he is "friendly finger".
Click to expand...
Click to collapse
true..... +1
you know, every button that is more finger friendly.
I am not insisting on volume buttons.
lol http://forum.xda-developers.com/showthread.php?t=644318
found
found this:
http://www.scilor.com/leocameraanykey.html
try it
hukpin said:
found this:
http://www.scilor.com/leocameraanykey.html
try it
Click to expand...
Click to collapse
Been using this for ages, works perfectly. Make sure you download the latest version from Scilor's website - it let's you press and hold any key to zoom in, then short press any key to take the picture - pure genius!
i tried this but it doesnt work at all for me i am using Energy rom with 2.07.50 radio help please?
AE Button Plus for some reason wont make any of the keys that i have tried to change to take a picture, i bought it in hopes that it would work but i have had no luck, so i just wanted to tell ppl so they dont waste there money, its a nice program and im sure it works just fine but just not for what i need it to do. it could also be that i am on NRG rom and that may be the problem because a while back i was able to use the KB config app to change the vol up key to take a picture and it used to work just perfect, but i think NRGZ28 changed something a while back and it wont work anymore on any of his roms. unless i am doing something wrong, but the same settings that worked before wont work any more. lol that just my 2 cents!!
http://www.scilor.com/leocameraanykey.html - this worked perfectly.. thanx!
Scilor's Leo Cam Any Key app
ignore my poist

FB button assignable?

Is that FB assignable to a different task or app? I don't use FB.
Sent from my GT-P1000 using XDA App
FB Button?
astro49 said:
Is that FB assignable to a different task or app? I don't use FB.
Sent from my GT-P1000 using XDA App
Click to expand...
Click to collapse
Does anyone have an idea yet? This device seems fine apart from the FB button and it would great if it could be changed.
no idea with the FB-Button ?
I can't believe that the FB button is not user assignable. I don't actually own one of these phones but I am very interested (as I love physical keyboards)
I'd rather it be a Google+ button! or maybe control the camera or something that's actually useful.
Not sure, but you can disable it or switch to camera.
You need to be rooted
Install rootexplorer app or similar
go to: /system/usr/keylayout/
tap mount r/w
edit chacha-keypad.kl
put a # in front of 184 HTC_SHARE to disable it or change HTC_SHARE to CAMERA
save
then switch back r/o
then reboot
(if you switch to camera, you need to long press fb button for camera)
zebdi said:
Not sure, but you can disable it or switch to camera.
You need to be rooted
Install rootexplorer app or similar
go to: /system/usr/keylayout/
tap mount r/w
edit chacha-keypad.kl
put a # in front of 184 HTC_SHARE to disable it or change HTC_SHARE to CAMERA
save
then switch back r/o
then reboot
(if you switch to camera, you need to long press fb button for camera)
Click to expand...
Click to collapse
Cheers mate!
Thanks a lot, it worked like a charm. Now I need to see which shortcut should I assign it to (not using the camera that much as I have a DSLR ).
I'm gonna try this later
Sent from my Chacha
zebdi said:
Not sure, but you can disable it or switch to camera.
(if you switch to camera, you need to long press fb button for camera)
Click to expand...
Click to collapse
exist any trick to assign the button as power on/off switch ?
cheers, Peter
zebdi said:
Not sure, but you can disable it or switch to camera.
You need to be rooted
Install rootexplorer app or similar
go to: /system/usr/keylayout/
tap mount r/w
edit chacha-keypad.kl
put a # in front of 184 HTC_SHARE to disable it or change HTC_SHARE to CAMERA
save
then switch back r/o
then reboot
(if you switch to camera, you need to long press fb button for camera)
Click to expand...
Click to collapse
Hi, I think if we had a way to change it so it can access any application (not just the camera) would be more 'productive' and a whole lot cooler (Twitter, Skype, Google+). Then you could purchase customizable same size stickers to give it a more 'refreshing' look.
greddy said:
exist any trick to assign the button as power on/off switch ?
cheers, Peter
Click to expand...
Click to collapse
Yes, change it to POWER. I haven't tried it yet but it should work. (try long press)
So:
# column 4
key 184 CAMERA - works with long press
haven't tried
key 184 POWER
hi
after getting s-off and finally rooted
my "@" sign became "£" sign (on FN+Y)
help would be very much appreciated
curently on software: 1.21.707.2
tnx a lot
Alex C. said:
Yes, change it to POWER. I haven't tried it yet but it should work. (try long press)
So:
# column 4
key 184 CAMERA - works with long press
haven't tried
key 184 POWER
Click to expand...
Click to collapse
If you change line 184 to POWER you can only power off, you can not wake it up
Try WAKE_DROPPED and check if that one works.
Alex C. said:
Try WAKE_DROPPED and check if that one works.
Click to expand...
Click to collapse
NOPE! Doesn`t work and DON`T try it, I messed up my keyboard, now some letters don`t work
I put back CAMERA and everything is back to normal
Hmm, weird.. Sorry for that then.. I'll perform some tests and check to see which command is the correct one. I presume you rebooted the phone after you changed the file, right?
Alex C. said:
Hmm, weird.. Sorry for that then.. I'll perform some tests and check to see which command is the correct one. I presume you rebooted the phone after you changed the file, right?
Click to expand...
Click to collapse
Yes I did...
I also noticed some odd behavior, when I try to set the WAKE_DROPPED parameter to assign the "screen wake" capability to other keys than the power button.
Let's say for example, that I added WAKE_DROPPED next to HTC_SHARE in the .kl file & I rebooted properly.
Then the screen will sometimes wake up when I press the FB key...but sometimes, never. The behavior seems completely random.
Also noticed the same behavior when trying to enable WAKE_DROPPED for other keys such as END_CALL for example.
My rom : default sense from latest OTA
Version : 1.54.401.2
S-OFF+ Root + CWM installed
azerty keyboard
I still have to look into this but time is not on my side, once again.
+ I'm using SuperOSR and CM builds and QWERTY layout.
astro49 said:
Is that FB assignable to a different task or app?
Click to expand...
Click to collapse
Yes, this is possible even on unrooted devices.
riorim said:
I also noticed some odd behavior, when I try to set the WAKE_DROPPED parameter to assign the "screen wake" capability to other keys than the power button.
Let's say for example, that I added WAKE_DROPPED next to HTC_SHARE in the .kl file & I rebooted properly.
Then the screen will sometimes wake up when I press the FB key...but sometimes, never. The behavior seems completely random.
Also noticed the same behavior when trying to enable WAKE_DROPPED for other keys such as END_CALL for example.
Click to expand...
Click to collapse
Actually this is not random...
The Chacha CPU is sleeping most of the time when screen is off, even Wifi is turned to max saving and prevents to receive data. Only some internal events wakes CPU up. And it wakes up on few seconds some times to times, to allow gmail sync and other things. It can stay up to several minutes without waking up.
In case the Chacha CPU is sleeping no key except the power button can wake it up.
In case the CPU is in wake up state, which is not often when screen is off, some other buttons can turn back the screen on.
As example, most of the time, right after screen turns off, you can turn back screen on with call button within 5 seconds or less, but later, only power button can because CPU went to sleep.

Home offscreen button during typing

Is anybody else having this issue? I am coming from Galaxy S4, where the home button is actual physical button, so there I didn't have any issues, but with OPO, when typing, many times when I try to hit spacebar, it hits the top of the Home button. Before it comes up, I do not want to use on screen buttons, I like the size of the screen and don't want it up with software buttons.
I was wondering if anyone has/could write a script to set the buttons to
(Menu)
Short press - Menu
Long Press - Recent Aps
(Home)
Short press - Nothing
Long Press - Home
(Back)
Short Press - back
Long Press - nothing
Or of there is an app that would give me a bit more control over the buttons... or something that can help with this. This is absolutely the only issue I have with the OPO otherwise I love the phone.
shiroimin said:
Is anybody else having this issue? I am coming from Galaxy S4, where the home button is actual physical button, so there I didn't have any issues, but with OPO, when typing, many times when I try to hit spacebar, it hits the top of the Home button. Before it comes up, I do not want to use on screen buttons, I like the size of the screen and don't want it up with software buttons.
I was wondering if anyone has/could write a script to set the buttons to
(Menu)
Short press - Menu
Long Press - Recent Aps
(Home)
Short press - Nothing
Long Press - Home
(Back)
Short Press - back
Long Press - nothing
Or of there is an app that would give me a bit more control over the buttons... or something that can help with this. This is absolutely the only issue I have with the OPO otherwise I love the phone.
Click to expand...
Click to collapse
Because i currently am running CM12 i can't give exact insturctions but it should be somewhere in settings -> buttons -> ? over there you should be able to give the buttons other values. It is something like menu button: recent apps switcher and if you press that you can change it to a few other things. If this doesn't fill your needs, ask a bit more around I know it is there, because i saw it once.
Watermelons said:
Because i currently am running CM12 i can't give exact insturctions but it should be somewhere in settings -> buttons -> ? over there you should be able to give the buttons other values. It is something like menu button: recent apps switcher and if you press that you can change it to a few other things. If this doesn't fill your needs, ask a bit more around I know it is there, because i saw it once.
Click to expand...
Click to collapse
Yes it is there, but the option for "Home Short Press" is not there, that is hard coded. At least on the ROM I run (LiquidSmooth)
What I need to know is this:
Which key mapping is for Short Press Home, Long Press Home and Long Press Menu. I am within /system/usr/keylayout/Generic.kl to adjust the mapping manually, but can't seem to find the correct mapping for those 3.
*EDIT*
Ok, so found the key for Home and that is 172, but that disables both the short and long press...
shiroimin said:
What I need to know is this:
Which key mapping is for Short Press Home, Long Press Home and Long Press Menu. I am within /system/usr/keylayout/Generic.kl to adjust the mapping manually, but can't seem to find the correct mapping for those 3.
*EDIT*
Ok, so found the key for Home and that is 172, but that disables both the short and long press...
Click to expand...
Click to collapse
I'm sorry but with this i can't help.
Have you also tried the official OnePlus Forums?
Watermelons said:
I'm sorry but with this i can't help.
Have you also tried the official OnePlus Forums?
Click to expand...
Click to collapse
Yeah, sadly, someone suggested to come here
If you have root try it with the Xposed Module "Xposed Additions".
holzfeli said:
If you have root try it with the Xposed Module "Xposed Additions".
Click to expand...
Click to collapse
Unfortunately can't install Xposed as it tells me that my device does not support it. Is there one specifically built for us?
I get this error :
Xposed is not (yet) compatible with Android SDK Version 21 or your processor architecture (armeabi-7va).
CANNOT LINK EXECUTABLE: could not load library "libdvm.so" needed by "/data/data/de.robv.android.xposed.installer/cache/app_process"; caused by library "libdvm.so" not found.
shiroimin said:
Unfortunately can't install Xposed as it tells me that my device does not support it. Is there one specifically built for us?
Click to expand...
Click to collapse
I can't post the link because I haven't 10 messages :crying:
You have got a private message!
holzfeli said:
I can't post the link because I haven't 10 messages :crying:
You have got a private message!
Click to expand...
Click to collapse
Thank you for the link, unfortunately still doesn't work. Same error. I think it is because the ROM I am using is LP and LP uses ART instead of Dalvik and XPosed doesn't work with that. Thank you though for the effort
shiroimin said:
Thank you for the link, unfortunately still doesn't work. Same error. I think it is because the ROM I am using is LP and LP uses ART instead of Dalvik and XPosed doesn't work with that. Thank you though for the effort
Click to expand...
Click to collapse
Yes, ART is the problem.
So I came up with a solution for this issue.
The file in question to be working with is /system/usr/keylayout/Generic.kl
Navigate to this file using a File Browser (Root Explorer is the one I use) that has access to Root and make sure you have R/W rights.
Edit the file above in a text editor > find line : "key 139 MENU" and change it to "key 139 HOME" > and then find line : "key 172 HOME" and change it to "key 172 MENU" > Reboot device for it to take effect after you save
Then, within Settings > Buttons, you can adjust (at least on the ROM I am on), the long and short press of the Menu button.
What comes out is: left button is HOME button, with short/long press actions, middle button is MENU with just long action (set short action to NONE), and right button is BACK button untouched.
This way if I am typing, and want to hit space bar, accidentally hitting the middle button will not bring me to the main screen. It will take a while to get used to it, but it does resolve my issue.

Categories

Resources