maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Advanced N900 keyboard remapping (https://talk.maemo.org/showthread.php?t=40806)

Matan 2010-04-06 15:10

Re: Advanced N900 keyboard remapping
 
I had led-less package there. Now I hope everything is in order. The package with the led is in fnlockled/ and the package without led is in n900/.

fpp 2010-04-06 15:51

Re: Advanced N900 keyboard remapping
 
Aha, mystery solved! I'm happy it wasn't me goofing around just for once :-)
Will re-download and re-install just for the sake of it...

lasergun 2010-06-01 09:00

Re: Advanced N900 keyboard remapping
 
Hi all,
People in this thread seem to know a lot about the maemo keyboard and hildon-input-method packages.

I am trying to make an auto replace/correct addition, for IM.
For instance:
" xD " = "I love you"
" bb " = "Bye Bye"
" myaddress " = "62 Hell's st., Heaven"
" mysig " = "Firstname Lastname"
etc.

I noticed that the hildon-input-method, has a source file named hildon-im-ui.
I am not familiar with the hildon framework so much, and it would be a great time saver if you could recommend to which function should I monitor the pressed keys in order to do so.

In addition, can I compile only the hildon-input-method package, and install it and it will override the current binary?

Thanks in advance,

NBD

manjiri 2010-06-01 10:10

Re: Advanced N900 keyboard remapping
 
Any idea how one can go about building a virtual keyboard that uses harmattan UI framework?
Also what event do I need to listen to in order to replace the current virtual keyboard with on of my own?

lasergun 2010-06-01 11:45

Re: Advanced N900 keyboard remapping
 
manjiri,
I don't know about harmatan,
but i think you should create your own virtual keyboard and load it to the "finger" configuration.
You can check the link below for references:

This is a link for a project of replacing the virtual keyboard with a handwriting recognition software. The source can be found there as well:
https://garage.maemo.org/frs/shownot...elease_id=3531

Hope it helped.

NBD

manjiri 2010-06-02 09:07

Re: Advanced N900 keyboard remapping
 
Quote:

Originally Posted by lasergun (Post 693551)
manjiri,
I don't know about harmatan,
but i think you should create your own virtual keyboard and load it to the "finger" configuration.
You can check the link below for references:

This is a link for a project of replacing the virtual keyboard with a handwriting recognition software. The source can be found there as well:
https://garage.maemo.org/frs/shownot...elease_id=3531

Hope it helped.

NBD

Thanks a bunch lasergun. I'll chk it out.

vinc17 2010-06-02 09:10

Re: Advanced N900 keyboard remapping
 
Quote:

Originally Posted by delaroca (Post 512709)
The "Compose" key is defined in the rx-51 kbd configuration as "Fn + Ctrl". But that presently triggers the supplementary virtual keyboard... I don't see how the wonderful array of key combinations spelled in the above file actually work. Am I missing something?

I was mentioning dead keys (e.g. dead acute accent), not the Compose key. One can already bind dead keys, to Fn-arrow (left, right, up, down) for instance. So, currently, I can type Fn-Left + e to get é. The question was: where is the "dead-accute + e" to é mapping defined (in order to be able to define mappings for other combinations)? I think this is under the same file as for the Compose key, but I'm not sure, and I haven't tried yet.

lasergun 2010-06-02 09:14

Re: Advanced N900 keyboard remapping
 
Hi all,

I just wanted to mention that I opened a new project for the Autotext thingy I previously mentioned.

I will be happy if any could help.

Project page:
https://garage.maemo.org/projects/autotext

For now I only uploaded the hildon-input-method sources for them to be altered.

Thanks,

NBD

BruceL 2010-07-01 02:06

Re: Advanced N900 keyboard remapping
 
I've been mapping my keys as these forums and the wiki suggest, but I find that I cannot make Tab or Delete work. Tab sometimes works (e.g., in vi) but it won't do tab-completion in x-term. Delete just prints strange characters.

Can anyone give me advice/help on this? I use tab completion and del quite a bit.

Bruce

vinc17 2010-07-01 10:52

Re: Advanced N900 keyboard remapping
 
Quote:

Originally Posted by BruceL (Post 736504)
I've been mapping my keys as these forums and the wiki suggest, but I find that I cannot make Tab or Delete work.

Some keys cannot be remapped as expected. Probably a bug. I don't know about Tab and Delete, though.

Quote:

Originally Posted by BruceL (Post 736504)
Tab sometimes works (e.g., in vi) but it won't do tab-completion in x-term. Delete just prints strange characters

You can type
Code:

cat > /dev/null
in the terminal, and see what character sequences you get when you type Tab or Delete. Note: you may need to type Ctrl-V before the key, otherwise some keys (typically Delete, unless it no longer works) will be interpreted in a special way.

Some keys may also generate a different sequence under applications that use the application mode (such as vi?). For that, you need to test under the tack utility (select n f k in the menus). But unfortunately, tack isn't available on the N900.


All times are GMT. The time now is 00:31.

vBulletin® Version 3.8.8