[maemo-developers] [maemo-developers] Re: Stuff to make h/w bt keyboards more useful

From: Matthew Allum mallum at gmail.com
Date: Fri Dec 2 14:22:02 EET 2005
I updated the patch a little last night to make it work more
efficiently and also now unblank the display once blanked via
keyboard.

Updated patch and new patched libbt.so binary at;

http://butterfeet.org/maemo/keyboard/

  -- Matthew

On 11/28/05, Matthew Allum <mallum at gmail.com> wrote:
> Hi;
>
> I recently bought one of the Nokia BT keyboards for my 770. Tomas's
> btkeyboard-plugin rocks but I soon got pretty frustrated at the 770
> not registering keypresses as activity to stop the display from
> blanking.
>
> Attached is a patch to btkeyboard-plugin which attempts to remedy
> this. It works rather brutally via sniffing out x keyevents on
> currently active windows and calling the equivilent of
> osso_display_blanking_pause() for each key press, keeping the display
> lit for another 60 seconds.
>
> There is no doubt more efficient ways to do the same thing lower down
> the stack. But this was quickest way for me todo and suit my needs.
>
> Also attached is a matchbox keyboard shortcut config file. Put this
> file in /home/user/.matchbox/kbdconfig, then run matchbox-remote -k.
> This sets up keyshortcuts for 'tabbing' between windows,
> fullscreening, closing apps and a couple of other things ( check
> kbdconfig for details ). YMMV with these shortcuts as matchbox key
> shortcuts arn't totally integrated into maemo.
>
> Finally attached is an xmodmap file. This is relevant at least for the
> Nokia BT keyboard and may need editing for other makes. It basically
> switches the caps and ctrl keys, makes 'del' a backspace and maps the
> non functional 'blue' keys to page up, page down and home.
>
> Put this file in /home/user/.xmodmap. Remap keyboard via 'xmodmap
> ~/.xmodmap' (  patched btkeyboard-plugin runs this command on new
> keyboard connection ). I've put an ARM binary ( from Debian ) of
> xmodmap here;
>
> http://butterfeet.org/maemo/keyboard/
>
> ( Also togeather with a patched built binary of bt-plugin.so etc. )
>
> All this is very much hacker orientated and really aimed at those who
> know what there doing. Try at your own risk. At least for me it makes
> the keyboard a little more useable.
>
> Regards;
>
>   -- Matthew
>
>
>

More information about the maemo-developers mailing list