Package: joystick
Version: 20051019-8
Severity: normal
File: /etc/init.d/joystick
Saving and restoring joystick calibration in an init script doesn't make
sense. It assumes that the joystick remains attached when shutting
down, remains attached when booting up, and (in the case of multiple
joysticks) always gets assigned to the same js device.
Instead, how about providing a udev script? On joystick insertion,
check for a file
"/etc/jscal/$env{ID_BUS}-$env{ID_SERIAL}-$env{ID_CLASS}", and if present
run jscal with it. The user can store calibration data there manually,
or you could provide some script to do so automatically for a given
joystick (something like "jscal-persistent").
- Josh Triplett
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages joystick depends on:
ii libc6 2.9-23 GNU C Library: Shared libraries
ii libsdl1.2debian 1.2.13-4+b1 Simple DirectMedia Layer
Versions of packages joystick recommends:
pn evtest <none> (no description available)
pn inputattach <none> (no description available)
joystick suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]