Bug#521116: please add keyboard set up feature

Stéphane Blondon stephane.blondon at gmail.com
Tue Mar 24 23:39:44 UTC 2009


Package: jumpnbump
Version: 1.50+dfsg1-2
Severity: wishlist
Tags: patch

Hello,

The keys used are chosen for QWERTY keyboard so they don't fit with
any keymap for one or two rabbits. I wrote a patch that allow the use
of configuration files (/etc/jumpnbump.conf and ~/.jumpnbump.conf).

The patch:
- converts the keys from #define to int (mainly in every .diff files provided),
- allows to load config file (in keyboard.c),
- the glue is done by keyboard.h which is called in globals.pre,
- provides a default configuration file.

I have only compiled it under Linux, I don't know if he has bad
effects for other environment: I found occurences of KEY_PLx_xxx in
the ./dos directory so I change them too but I didn't test it.

The path is Unix only, so the feature will not work under other other
operating system (however it should compile without any problem). I
will _not_ improve that in the future.

I'm clearly not a C specialist so the code could probably be
improved... However it works well and compile without warnings.


I think an additionnal information should be added in the README file
and/or in the manpage. It's not provided in this patch.



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-486
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages jumpnbump depends on:
ii  imagemagick            7:6.3.7.9.dfsg2-1 image manipulation programs
ii  libc6                  2.9-4             GNU C Library: Shared libraries
ii  libsdl-mixer1.2        1.2.8-5           mixer library for Simple DirectMed
ii  libsdl-net1.2          1.2.7-2           network library for Simple DirectM
ii  libsdl1.2debian        1.2.13-4          Simple DirectMedia Layer
ii  python                 2.5.4-2           An interactive high-level object-o
ii  python-glade2          2.12.1-6          GTK+ bindings: Glade support
ii  python-gtk2            2.12.1-6          Python bindings for the GTK+ widge

jumpnbump recommends no packages.

Versions of packages jumpnbump suggests:
ii  jumpnbump-levels              20080620   cute multiplayer platform game wit

-- no debconf information

-- 
Stéphane
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jumpnbump_patch_setup_keyboard.tar.gz
Type: application/x-gzip
Size: 6041 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20090325/192a7f07/attachment.bin 


More information about the Pkg-games-devel mailing list