Tasker react to Keycode - Tasker Tips & Tricks

Hi,
Maybe someone have a idea for my problem. I want to use tasker to react to keycodes (command of hardware button). But i have no scancode for it cause its created from a Virtual device (strange:silly. Its a android headunit what uses can bus codes of steering wheel. I want to react to dpad left/right (this is mapped in the can bus setup i have no access to) with media previous/next
Because i have no scan code, typical button remapper dont work for my case. I attached a picture of everything this button gives out.
I tried AutoInput but it also doesnt work without scancode. I think there must be a way because gravititybox is able to use keycode 4 (not the one i want to remap).
Maybe tasker can do this for me?

I dont have a solution but I am searching for it too.

Joecool92 said:
Hi,
Maybe someone have a idea for my problem. I want to use tasker to react to keycodes (command of hardware button). But i have no scancode for it cause its created from a Virtual device (strange:silly. Its a android headunit what uses can bus codes of steering wheel. I want to react to dpad left/right (this is mapped in the can bus setup i have no access to) with media previous/next
Because i have no scan code, typical button remapper dont work for my case. I attached a picture of everything this button gives out.
I tried AutoInput but it also doesnt work without scancode. I think there must be a way because gravititybox is able to use keycode 4 (not the one i want to remap).
Maybe tasker can do this for me?
Click to expand...
Click to collapse
Want this as well for my Atoto A6 Pro steering wheel controls. You find a solution?

dimex said:
Want this as well for my Atoto A6 Pro steering wheel controls. You find a solution?
Click to expand...
Click to collapse
https://repo.xposed.info/module/xeed.xposed.cbppmod

Joecool92 said:
https://repo.xposed.info/module/xeed.xposed.cbppmod
Click to expand...
Click to collapse
You successfully remapped Atoto's steering wheel controls with that?

Related

Reassign the side OK button on Tilt?

Hi,
I've successfully re-mapped the PTT button by following the instructions from this forum. I imagine the same procedure would apply to the small OK button immediately below the jog-wheel, but I don't know where to start. Of course, the button is not present in the Settings/Buttons applet - that would have been too easy.
First, how to disassociate it from its present function (Start Menu/OK)? And once disassociated, what is the button code to enter in the registry?
I tried aebplus, and it sort of works - but the start menu still comes up on the first keypress if invoked in the Today screen.
Any ideas on how to re-map this otherwise useless key?
Thanks,
Mike.
mpd said:
Hi,
I've successfully re-mapped the PTT button by following the instructions from this forum. I imagine the same procedure would apply to the small OK button immediately below the jog-wheel, but I don't know where to start. Of course, the button is not present in the Settings/Buttons applet - that would have been too easy.
First, how to disassociate it from its present function (Start Menu/OK)? And once disassociated, what is the button code to enter in the registry?
I tried aebplus, and it sort of works - but the start menu still comes up on the first keypress if invoked in the Today screen.
Any ideas on how to re-map this otherwise useless key?
Thanks,
Mike.
Click to expand...
Click to collapse
yes, i would like to find this out as well because i have PTT assigned to comm manager and voice recorder but now i need one toggle between vibe and ring...would be nice to use this ok button i thing its pretty useless since there is anothe ok button on the front...TIA...
me too!
I also need to change the side "ok" button. Anybody have a solution?
Hello! Care if I do a quick search FOR YOU since you do not want to?
http://forum.xda-developers.com/showthread.php?t=277639
http://forum.xda-developers.com/showthread.php?t=286658
http://forum.xda-developers.com/showthread.php?t=274644
http://forum.xda-developers.com/showthread.php?t=336438
You sound like a jerk for posting that I did not search when the reply prior to mine was 6 months ago.
Did you even read the thread? None of the links you posted had instructions/advice on how to remap the side "ok" button.
grizzley said:
Hello! Care if I do a quick search FOR YOU since you do not want to?
http://forum.xda-developers.com/showthread.php?t=277639
http://forum.xda-developers.com/showthread.php?t=286658
http://forum.xda-developers.com/showthread.php?t=274644
http://forum.xda-developers.com/showthread.php?t=336438
Click to expand...
Click to collapse
yes i was about to say. non of them have steps or even telling you anything related to how to get it.
all it says is people trying it matter and they failed.
if there was no solutiion you should have just said no solution, it would have saved you time searching all that and also us bashing you
the 4th link does have some good information, lemme just quote from it
Bellfazar said:
The side "ok" button is a tough one because it has multiple functions. In programs, explorer windows, and settings it acts as an OK button but when you're at the today screen it acts as a Start Menu button. I kinda get the feeling we're not going to be able to change this for a while. Not until someone releases a keymapper specifically for the Kaiser.
Click to expand...
Click to collapse
strikeIII said:
even with the 8525 nobody has been able to re-map the ok button...it's still the biggest mystery, hehe....but now that they eliminated one button on the Tilt we really do need the ability to remap the ok button now...
Click to expand...
Click to collapse
Deathace said:
I have the side OK button remapped in spb pocket plus v4 under the buttons menu in settings and the only thing you have to do is take focus off the start menu then it works as expected.
Russ
Click to expand...
Click to collapse
It's really easy with help of AE Button Plus.
You can pretty much map any hardware key on your device with this great app.
I have it setup to be able to copy and paste by using the sliding keyboard and pressing Window Key + C to copy and Window Key + V to paste among other cool shortcuts.
Cheers!
RayanMX
Rayan said:
It's really easy with help of AE Button Plus.
You can pretty much map any hardware key on your device with this great app.
I have it setup to be able to copy and paste by using the sliding keyboard and pressing Window Key + C to copy and Window Key + V to paste among other cool shortcuts.
Cheers!
RayanMX
Click to expand...
Click to collapse
Thanks Rayan. I downloaded the AE Button Plus program for my AT&T Tilt, and it is working fantastic for remapping buttons. I was able to remap the side OK button to lock my phone by holding it for a few seconds. I love the way it also lets you leave the button with its default setting for one press, but create other actions for multiple presses.
By the way, the phone locking works fantastic. It allows me to answer calls, but doesn't activate any of the other phone functions until I unlock the phone. That's perfect for carrying the phone in my pocket. Also, incoming notifications don't unlock the phone, so that I won't accidentally turn-on a bunch of applications while the phone is in my pocket. The unlocking action is very simple.
I've also mapped volume up and down to a long press of the soft keys. That alleviates the need to use the stylus to select the volume button. Great.
The AE Button Plus program was what I've needed all along to customize my phone. It would've saved me a lot of time.
One other note, I downloaded the 2.6.3 version of the program, rather than the freeware version, but I haven't gotten any info on the cost. I may be disappointed in the near future if this program automatically deactivates. Do you know if I should expect a disappointment? I would pay for this program, but I'm not sure how much it's worth to me, but I saw no information on the cost. Do you know?
AFAIK there is only one version, if you want the registered version you buy a license and there's a procedure to activate it, otherwise it uses the free version with a couple features disabled and a nagscreen once in a while.

side scroller thing useless, can we..

is any way to remap that scroller on the side to do something more useful like adjust volume or anything? if i want to scroll i can use the little d-pad or the stylus, that thing is just wasting space.
I agree!
Adjusting the volume would be great.
typhoone said:
is any way to remap that scroller on the side to do something more useful like adjust volume or anything? if i want to scroll i can use the little d-pad or the stylus, that thing is just wasting space.
Click to expand...
Click to collapse
and adding weight... its terrible i tell ya... TERRIBLE...
no but seriously i thought the same exact thing when i bought the phone. now.. i just dont even bother with it.
Volume control would be really handy.
You can adjust the volume with it.
yep, you can adjust the volume with it whilst on a call.
I guess you mean adjust the volume of the ring or the windows sounds - not sure if this is poss or not
i know exactly what you mean....you want it just like the old cingular 8125 was ...instead of a wheel it was more of like a switch that went up or down to adjust volume at any time.
i use that wheel all the time for scrolling. It's WAY faster to navigate than the dpad, ...
Useless is as usless does - scroll wheel and/or tiny OK button
typhoone said:
is any way to remap that scroller on the side to do something more useful like adjust volume or anything? if i want to scroll i can use the little d-pad or the stylus, that thing is just wasting space.
Click to expand...
Click to collapse
I certainly don't use the scroll wheel as much as I probably should . . . but what about the OK button below the scroll wheel? Talk about useless . . . I don't think I've ever used it except to test it or try to map something useful to it - I truly don't see the point of that button when there's a perfectly good OK button right by the D-pad
cushcalc said:
I certainly don't use the scroll wheel as much as I probably should . . . but what about the OK button below the scroll wheel? Talk about useless . . . I don't think I've ever used it except to test it or try to map something useful to it - I truly don't see the point of that button when there's a perfectly good OK button right by the D-pad
Click to expand...
Click to collapse
i honestly didn't even know that button was there.....wtf. lol
cushcalc said:
I certainly don't use the scroll wheel as much as I probably should . . . but what about the OK button below the scroll wheel? Talk about useless . . . I don't think I've ever used it except to test it or try to map something useful to it - I truly don't see the point of that button when there's a perfectly good OK button right by the D-pad
Click to expand...
Click to collapse
Both the wheel and the ok button are there for blackberry device users who use those two input devices as a good 80% of their navigation.
Only problem, blackberry device users try to use the kaiser like a blackberry and find out it sucks in that aspect, and exchange it so they can get their old crackberry back. And PDA users are used to using the other 20 pre-existing ways to navigate the device without using the wheel and OK button.
I feel sorry for those poor wheel/button sometimes.
I like to just play with it sometimes when its in my pocket or i have my phone locked and use it for useless fun.
It's all about choice, isn't it? If you're used to d-pads you probably never go near that wheel, or the little ok button by it. If, like me, you're used to Symbian UIQ phones, which just happen to have a wheel and a "back" (same as ok) button exactly where the Kaiser's are, they're a godsend. Because I'm used to them being the primary controller (no d-pad on a Sony Ericsson P910, or M600i), I use them all the time - the d-pad is just a nice extra. Without them, I'd probably struggle, at least to begin with.
I think HTC have just put a lot of thought into how different people use these devices, and tried to cater for as many as possible.
Try AE Button Plus!
typhoone said:
i honestly didn't even know that button was there.....wtf. lol
Click to expand...
Click to collapse
I use the button alot. Maybe because my hands are large I find that using it to ok/close is more comfortable than pressing the one on the face of the device.
For right handed use, anyways. and for picsel browser its mapped to page zooming, so... Its quite handy.

OK button below scroll wheel

The OK button below scroll wheel on the side of the phone. Can this button be reassigned through the registry?
I was going to try and create that entry but I am not sure of the button number.
Any help?
it think it can, one of the button mapping 3rd party apps that you can but was able to map it to whatever you wanted. I used it for a while but ended up using the button featuer within spb pocketplus4 since it was already installed for other features
Pending what ROM you use you can reassign.
Easiest fix is to search for PTT remap which, if I'm not 100% wrong, will give you a changed button application.
I am using the stock AT&T 6.1 ROM.
I installed S2U2 and wanted to map the side OK button for Volume control.
If I knew what button # it was I could create the registry entry.
I want to try and do it with a third party app.
tyguy said:
Pending what ROM you use you can reassign.
Easiest fix is to search for PTT remap which, if I'm not 100% wrong, will give you a changed button application.
Click to expand...
Click to collapse
I believe the question was about the button BELOW the wheel, the PTT button is above the wheel. Also, 6.1 already allows mapping of the PTT button.
I believe the software is Vito ButtonMapper, google that and you will find it.
I was aware that he was talking about the button BELOW the wheel but if I recall right PTT reassign gives a six buttun mapper. If not my apologies.
tyguy said:
I was aware that he was talking about the button BELOW the wheel but if I recall right PTT reassign gives a six buttun mapper. If not my apologies.
Click to expand...
Click to collapse
Yes the PTT would be 6 and can be mapped using 3rd party software for wm6 and natively in 6.1.
This issue has been batted around for a while now, and even with the Hermes as well. As far as I know, the ok button is pretty much hardwired. No one ever found a registry key, and no button mapping program recognizes its existence.
Blowfish64 said:
This issue has been batted around for a while now, and even with the Hermes as well. As far as I know, the ok button is pretty much hardwired. No one ever found a registry key, and no button mapping program recognizes its existence.
Click to expand...
Click to collapse
Well that sucks, that is the only button I never use and being able to assign it to volume would actually make it useful.
And to the others, yes I am referring to the OK button below the scroll wheel. I know the PTT button (above wheel) is #6 and I already know how to assign that one.
Time to go to WinMo 6.1. I have toggle backlight on short press, close all on long press. Works great at least on a Kaiser with ROMeOS.
Twenty4 said:
The OK button below scroll wheel on the side of the phone. Can this button be reassigned through the registry?
I was going to try and create that entry but I am not sure of the button number.
Any help?
Click to expand...
Click to collapse
If you are willing to spend 8 bucks this will do it and a bunch of other stuff.
(or reverse engineer the program and pull that piece out)
Worth the 8 bucks to me.
http://ae.inc.ru/aebplus.php

How do I tell which keyboard file my wireless keyboard uses?

So I bought the HP Touchpad Wireless keyboard for my TP and love it. My only problem at this point is that some of the buttons don't work on Android. Obviously the Card button which was meant for WebOS does nothing here, and even though the Play/Pause button works, the skip track prev and next do not. I see that most of the keys are still sending inputs file the KeyEvent program, but are not mapped properly.
I tried changing one of the keyboard files (when googling this it was recommended I change qwerty.kl) to properly map to the input the keyboard was sending, but it didn't appear to have any effect. My suspicion is that perhaps the HP BT keyboard uses something like /system/usr/keylayout/Generic.kl instead of qwerty.kl, but how do I know for sure? There are like a dozen in there. Is there a way I can make a customized one and somehow tell CM9 to point to that layout file when the BT keyboard connects?

Bluetooth Keyboard Problems in Games

So I've been experimenting with turning my Note 3 into a mobile media and gaming device. The media part works well (other than a few hiccups with my hdmi connector from time to time). However, I am running into issues playing games with my keyboard.
The specific app I am having issues with is QIII4A, with Open Arena. I can bind my movement keys in the game settings just fine, and my mouse works well. The problem is that my movement keys do not work, at all, when bound to WASD (technically their Dvorak equivalent, but I don't believe that's the issue). When bound to the arrow keys I can move just fine. Crouch and jump also work, Ctrl and space respectively.
I believe it's an issue with my input, possibly not repeatedly sending a key press like it would on a Computer. I use External Keyboard Helper Pro as my input method when I have a keyboard attached. I've played with the settings that seem relevant (pause before key repeating set to none, also tried do not repeat as a test).
Does anyone have any ideas as to how I could get this working? I could change my keyboard layout in EKH, but I'd rather avoid this if possible.
Additionally, is it possible to unbind or rebind mouse keys? Mouse 2 as back is rather annoying.
I'm running root stock mj5, if it matters.
Thanks!
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
So I've done a bit more testing and it seems to be a problem with any games. Curious to know if there's a known workaround.
On further testing, I noticed that as I hold a movement key I do get some motion, just incredibly slow. Seems that it is sending a string of keypresses instead of one, long keypress. This is also why the jump and use keys work fine, as one short press is plenty. Crtl, alt, and the arrow keys or "gamepad up/down/left/right" as they're mapped work fine.
I did go ahead and create a new layout for gaming, so in the mean time that is probably a decent compromise. Just wish I could go all the way so I could type and game with the same layout. If anyone is interested I'd be happy to post a walkthrough on the key remapping process using external keyboard helper.

Categories

Resources