Notices


Reply
Thread Tools
NerdKnight's Avatar
Posts: 113 | Thanked: 334 times | Joined on Oct 2010 @ Argentina
#21
Originally Posted by sakya View Post
No, the layout is hard coded, sorry.
I can try to make it configurable with a config file.
did you made some progress whit this? I've been working with the keymapping and I have it almost done, as soon as I finish some details I'll post the code.

Last edited by NerdKnight; 2012-04-26 at 21:02.
 

The Following 3 Users Say Thank You to NerdKnight For This Useful Post:
sakya's Avatar
Posts: 533 | Thanked: 1,341 times | Joined on Dec 2010 @ Italy
#22
Originally Posted by NerdKnight View Post
did you made some progress whit this?
No, it's just in my "todo list"
If you post a patch I'll upload the updated package (or do it yourself), many thanks.
 

The Following 2 Users Say Thank You to sakya For This Useful Post:
NerdKnight's Avatar
Posts: 113 | Thanked: 334 times | Joined on Oct 2010 @ Argentina
#23
Here is the patch file: lba_keymappings.patch

List of changes:
  • The configuration file is stored in /home/user/.littlebigadventure/lba.ini. The directory is created during the package installation and the file is created (if it doesn't exist) the fist time the game runs with the keymappings sakya defined.
  • I used iniParser to parse the config file, I included the source in the patch.
  • I added rm -f twin-e to the clean section of Makefile.maemo

Sakya, let me know if there is something to fix before uploading this patch or if you want me to upload it, thanks
 

The Following 5 Users Say Thank You to NerdKnight For This Useful Post:
sakya's Avatar
Posts: 533 | Thanked: 1,341 times | Joined on Dec 2010 @ Italy
#24
Uploaded the new package now, I just changed the path of the config file to /home/user/MyDocs/.lba/lba.ini (why create another directory for the config file if we have one ready for it?).
 

The Following 4 Users Say Thank You to sakya For This Useful Post:
Posts: 105 | Thanked: 46 times | Joined on May 2011
#25
Great idea with lba.ini!
For some reason I cannot update because post-installation script exits with "error status 2". The line before in FAPMAN's error log says "unable to execute post-installation script: no such file or directory". LBA is working well so I don't know why I can't update. Maybe it's just my phone ...
 

The Following 2 Users Say Thank You to daniel_m For This Useful Post:
sakya's Avatar
Posts: 533 | Thanked: 1,341 times | Joined on Dec 2010 @ Italy
#26
Ops, I forgot to remove the postinst script.
Uploaded now a fix release, it should work now.
 

The Following 3 Users Say Thank You to sakya For This Useful Post:
Posts: 105 | Thanked: 46 times | Joined on May 2011
#27
Ini file works great and helps a lot. But somehow I didn't manage to get my function key (the green arrow between Ctrl and Shift) to work in the game.
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#28
Blue arrow? It's seen as Alt_Gr (right alt). I don't know, if it's bindable for LBA, but You can try.
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
Posts: 105 | Thanked: 46 times | Joined on May 2011
#29
Ah, Alt_Gr :-)
Unfortunately doesn't work. Just thought it would be nice to be able to use the left row of keys ...
 

The Following 2 Users Say Thank You to daniel_m For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 01:36.