mirror of
https://github.com/X11Libre/xf86-input-joystick.git
synced 2026-03-24 01:34:06 +00:00
Added notes to the manpage
This commit is contained in:
@@ -209,9 +209,12 @@ will generate a lowercase
|
||||
is for the
|
||||
.IR "space " key.
|
||||
|
||||
.SH "NOTES"
|
||||
The driver does no hotplugging. The joystick needs to be plugged in when the driver is loaded. If the joystick is unplugged, the driver deactivates itself.
|
||||
|
||||
.SH "SEE ALSO"
|
||||
__xservername__(__appmansuffix__), __xconfigfile__(__filemansuffix__), xorgconfig(__appmansuffix__), Xserver(__appmansuffix__), X(__miscmansuffix__), xmodmap(1)
|
||||
.SH AUTHORS
|
||||
Sascha Hlusiak
|
||||
Sascha Hlusiak (2007)
|
||||
.fi
|
||||
Frederic Lepied (1995-1999)
|
||||
|
||||
@@ -34,12 +34,21 @@
|
||||
#include <X11/extensions/XKBsrv.h>
|
||||
#include <X11/keysym.h>
|
||||
#include <X11/XF86keysym.h>
|
||||
// #include <xf86Xinput.h>
|
||||
#include "jstk.h"
|
||||
#include "jstk_key.h"
|
||||
|
||||
#define MIN_KEYCODE 8
|
||||
|
||||
|
||||
/**
|
||||
* Xorg should allow us to have a separate keymap
|
||||
* If a keyboard is defined, there already is a keymap and we have to use it
|
||||
* If not, we have to provide our own keymap
|
||||
*
|
||||
* Since we don't know we do NOTHING. :-( So we assume, you have a keyboard attached
|
||||
**/
|
||||
|
||||
|
||||
int
|
||||
jstkInitKeys(DeviceIntPtr pJstk, JoystickDevPtr priv)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user