| Prev |   1   2 |
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Tab button for the thumb keyboard on a n800 (https://talk.maemo.org/showthread.php?t=43280)

Micah 2010-02-05 00:43

Re: Tab button for the thumb keyboard on a n800
 
Well I applaud your effort! I hope you hear from him. How hard would it be to go the xmodmap route for now?

Addison 2010-02-06 07:54

Re: Tab button for the thumb keyboard on a n800
 
Xmodmap would be fluffy cake to use.

Move xmodmap to
/usr/bin/

chmod +x /usr/bin/xmodmap

Create a file so that you see
/home/user/.Xmodmap

That file should have in it something like
keysym F7 = TAB TAB TAB TAB

To run it, type in Xterm
xmodmap ./.Xmodmap

To stop it, type in Xterm
setxkbmap

Sorry I don't have something simple for you to just copy and paste in Xterm but I'm pretty poor with the command line.

Anyway, pressing the ZOOM IN key on top of your tablet will produce a Tabbing effect.

Still looking at a solution for you though.

This was the best post I found online.
http://www.gossamer-threads.com/list...velopers/26609

Basically the keyboard is closed source. The only way to hack it is through reverse engineering.

And the .vkb file doesn't have any codes in it for the Return, Backspace or Tab key.

It might be located in
/usr/share/X11/xkb/geometry
but I'm not sure.

Anyway, this ended up being a little beyond me so I don't think I can help you on this anymore.

Oh well. :)

Micah 2010-02-06 13:40

Re: Tab button for the thumb keyboard on a n800
 
Thank you for your help so far.

I tried using Xmodmap but it keeps throwing an error

"xmodmap: unknown command on line commandline:1
xmodmap: 1 error encountered, aborting."

Any suggestions.

Addison 2010-02-06 16:12

Re: Tab button for the thumb keyboard on a n800
 
Are you starting this with
xmodmap ./.Xmodmap
?

If you were to use Emelfm2, you should be seeing a file under
/home/user/.Xmodmap

If you were to open that file, it would only have this one line written in it.

keysym F7 = Tab Tab Tab Tab

(Sorry, I guess Tab shouldn't have been spelled out in all capital letters)


Anyway, I'm really probably one of the worst persons here to talk about such a thing because I can't seem to do anything right on my tablet.

I'll let someone else take over from here. :)

Micah 2010-02-06 16:48

Re: Tab button for the thumb keyboard on a n800
 
UPDATE: Ignore below. It works for the styles keyboard but not for the thumb keyboard :mad:

AH HA!! My first problem was i put keysum instead of keysym. After I did that when I pushed the button all it would do is tab over 5 spaces instead of auto complete. After digging around with xmodmap I found that the actual string is

keysym F7 = Tab ISO_Left_Tab

Now I have tab completion on the terminal!!!! Not a nice as hacking the keyboard but this def. makes things easier.

Thanks again Addison.

Addison 2010-02-06 22:57

Re: Tab button for the thumb keyboard on a n800
 
So it's not working with the thumb keyboard? That's weird.

Well, I tried changing the apostrophe to a different character that would never be used such as ł

But when trying to change what ł meant in Xmodmap, I couldn't get it to work.

For some reason when using
xbindkeys -k
to find the value of ł, it couldn't recognize it.

If you can figure this one out, I can make the keyboard for you.

Not sure what else to say on this.

www.rzr.online.fr 2010-03-05 13:07

Re: Tab button for the thumb keyboard on a n800
 
On my system , what about yours ? :

* TAB : Fn+SPACE, Ctrl+i

URL: http://rzr.online.fr/q/xkb


About xkbdata's rx-44 , I plan to patch upstream, is there a proper way to do this ?

I am about to import xkbdata to gitorious to track my changes see :


Regards

--
http://rzr.online.fr/q/maemo


| Prev |   1   2 |
All times are GMT. The time now is 23:34.

vBulletin® Version 3.8.8