View Full Version : bt keyboard with kbdd - need to remap keys
lansalot
07-07-2007, 07:54 AM
Per the title - I can't get any of the fancy keys recognised so can't send an escape, do a "|" symbol etc. Really, I'd be happy if it just recognised the AltGR+key combinations so I can at least get my pipe and backtick symbols...
Am using the "freedom" type with "pc105", and have been googling to find out how I might manage to make use of the other keys, but to no avail.
This is the keyboard incidentally - not bad for £20, even though I did need kbdd (no HID - and thus, it also wouldn't work with my K800i phone).
http://www.handtec.co.uk/product/49/bluetooth-smart-keyboard
bubieyehyeh
07-09-2007, 02:39 PM
Am using the "freedom" type with "pc105", and have been googling to find out how I might manage to make use of the other keys, but to no avail.
This is the keyboard incidentally - not bad for £20, even though I did need kbdd (no HID - and thus, it also wouldn't work with my K800i phone).
I've been looking for a cheap bluetooth keyboard for 770 so this interest me if its possible to get it to work.
Looking on http://fanoush.wz.cz/maemo/ and then browsing the CVS archive http://handhelds.org/cgi-bin/cvsweb.cgi/apps/kbdd/ I noticed the README file mentions a keyboard with a similar name to that listed on that website.
-t <kbd type>
specify the serial keyboard type, supported are:
.....
smartbt - Smart Bluetooth keyboard
.....
Would this be a better match than the freedom type?
I'll be interested to know if that help fixes things.
fanoush
07-09-2007, 03:41 PM
once kbdd properly supports sending all key codes to linux kernel there is no difference between serial or HID BT keyboard. key combinations and remapping can be done then via keymap file for setxkbmap (like the pc105 one in control panel appplet).
google for setxkbmap, xkbcomp, xev
some special keys modifiers are handled in kbdd directly if keyboard has less keys and even basic keys are done by combinations with some keyboard specific modifier but in general normal modifiers like alt,alt-gr,windows key etc. should be mapped in X server via setxkbmap
see also http://maemo.org/development/maemo_tools_index.html - xev is there
lansalot
07-09-2007, 07:46 PM
Thanks all, will give it a try tomorrow (I hope) and report back.
lansalot
07-11-2007, 07:37 PM
Just a quick reply - smartbt doesn't make things any better or worse. Will look into the remapping as above as soon as I can find the time.
Thanks for the suggestion.
I should add that typical modifiers like shift & ctrl work fine. Pipe symbol appears to be altgr+7, but no combination gets me that.
I see some keymaps in /usr/share/keyymaps - maybe I can mangle something in there.
I couldn't interpret the xev output into anything useful I'm afraid. :(
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.