Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
cinnabarcorp
Old
#1  
Junior Member - OP
Thanks Meter 1
Posts: 24
Join Date: Aug 2011
Exclamation [Q] HP TouchPad Wireless Keyboard Remapping 4 ICS?

I have the Official HP TouchPad Wireless Keyboard and I'm running cm9 0.6

Some keys on the Keyboard are non functional with ICS. For example

Brightness Control
Back and Forward Music
Notification Key
Card View Key (Could be used as home button)
Virtual Keyboard Toggle Key
and some others I cant think of

My point is, how can I make these keys functional to actually work

and

Is there any way someone could probably develop a driver that can be flashed via Clockwork Mod Recovery as a ZIP?

It would be a great help to us TouchPad Users running CM9 ICS
 
Musik847
Old
#2  
Member
Thanks Meter 3
Posts: 71
Join Date: Mar 2010
Location: AZ
BUMP!

Sent from my Galaxy Nexus using xda premium
 
Ratix0
Old
#3  
Senior Member
Thanks Meter 10
Posts: 190
Join Date: Jan 2011
I'm actually very curious about this as well, I own the HP touchpad keyboard too and I really like it, it works really well on WebOS but when it came to android, many of the buttons don't work and it would be really great if these buttons could be remapped in some form or another.
 
DashingGentleman
Old
#4  
Senior Member
Thanks Meter 29
Posts: 186
Join Date: May 2010
Yeah, I would be interested in this too.

Some of the keys are easily fixable by editing /system/usr/keylayout/qwerty.kl - such as the media back/forward buttons. There's a keytest app out there which will capture keystrokes and spit out the numerical codes. You can then edit these codes in together with the desired commands into the kl file.

Other keys (keyboard toggle, brightness toggle etc...), however, do not trigger numerical keycodes at all when pressed; they seem to be using some WebOS specific command, or the Android driver simply is not written to recognise these codes. It looks like the driver would need to be modified for those keys to work - but I am no expert.

I'll try and post an edited kl file with all the keys which are recognised working later.
 
Main Target
Old
#5  
Senior Member
Thanks Meter 13
Posts: 229
Join Date: Sep 2008
I have no idea on Android inputs work, but in Linux/X server there was a command line command that allowed you to directly capture keystrokes/events from a keyboard. Does android use X?
 
Drachen808
Old
#6  
Senior Member
Thanks Meter 58
Posts: 341
Join Date: Jun 2010
Location: San Antonio
Just so you know, this thread will probably get moved, but I thought I would provide a link before it does.

http://forum.xda-developers.com/show....php?t=1379863

I havent applied this to CM9, but I would imagine that it shouldn't be too different.
Phone: Nexus 4 (bone stock until I see a reason to root)
Tablet: HP TouchPad
eReader: Nook Color


Retired and sold:
HTC 3vo
HTC Hero
 
cinnabarcorp
Old
#7  
Junior Member - OP
Thanks Meter 1
Posts: 24
Join Date: Aug 2011
Bump

Bump

Bump
 
Izeltokatl
Old
(Last edited by Izeltokatl; 28th December 2012 at 11:24 PM.)
#8  
Senior Member
Thanks Meter 88
Posts: 876
Join Date: Feb 2010
Location: So Cal
Try using this app:

External Keyboard Helper
https://play.google.com/store/apps/d...=search_result

You can use it to remap keys into android. Please report back if it works, as I want to buy a keyboard for my tablet, but dont want to deal with useless keys

I did find this review in the UK that mentions this app does help remap and get those uesless keys working:


http://www.amazon.co.uk/product-revi...0?pageNumber=2

Quote:
This high quality Bluetooth keyboard measures 28.5cm by 13cm and weighs about 360g, including the two AA batteries that are supplied with it: slightly longer than my tablet is wide, but still small and light enough to carry round.

It is solidly made, matt black metal rather than plastic, with a stylish curving shape firmly supported on rubber feet - no wobble even on slightly uneven surfaces. The slope is perfect for fast typing. The keys are low profile and short-travel, full size, responsive and quiet. No sign that any of them is likey to come loose. There is no numeric keypad, but there is a row of function keys at the top to control the tablet - search, brightness, volume, on/off etc. Battery life is claimed to be about six months as the keyboard powers down when not in use and comes back to life as soon as you press a key.

The keyboard paired with my Sony S and with my Galaxy (both Android devices) without fuss and worked immediately, although three or four key mappings needed adjusting to match the GB layout. For this the External Keyboard Helper app is highly recommended - you just press "autodetect keyboard" and everything comes right.

As other reviewers have mentioned, there is no on/off indicator. The light next to the on/off switch on the underside of the keyboard seems to show that the device is visible for pairing, rather than that it is on. Again, the External Keyboard Helper is useful here because it flashes up a discreet message when a keyboard is not detected. I only found the lack of a light a problem on one occasion - the second time I used it. The batteries supplied were flat, so nothing worked. Fortunately, before hurling it at the wall, I remembered the old principle "check the simplest explanation first".

The lack of a caps lock light I did not find a problem - this probably depends on your style of typing.

Excellent value for money.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Recognized Contributor Code of Conduct

During the first half of 2012, XDA initiated the Recognized Contributor (RC) program to recognize … more

Careers in Android: What Hiring Managers Won’t Tell You – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more

Coloring Your Logcat World

Getting feedback for your app during development is as simple as adding logging info where necessary and looking … more

Guide Your Sheep to Safety with Finger Shepherd

Just a coupe of days ago, we brought you news about a game calledAgent Sheep. In that … more