This port provides a FreeBSD kernel module implementing the Linux joystick
interface (/dev/input/js?), as well as calibration (jscal) and test (jstest)
utilities.
===> The following configuration options are available for linux-js-2.2:
DOCS=on: Build and/or install documentation
JOY=on: PC joystick support
LINUX=on: Linux mode support (i386/amd64 only)
UHID=on: USB joystick support
===> Use 'make config' to modify these settings
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
- Mark IGNORE on FreeBSD 7.x and up, kernel module cannot be loaded
PR: ports/118972
Submitted by: Marcus von Appen <mva@sysfault.org>
Approved by: maintainer timeout (jylefort; 1 month)
Version 2.2:
- Make linux_js.ko depend on the linux module, otherwise it won't
load unless the linux module is loaded or compiled into the kernel
- Conditionalize Linux mode support
Version 2.0:
- USB joystick support has been added
- Calling select() with a large timeout did not work properly: fixed
- Short reads (< sizeof(struct js_event)) did not work: fixed
- The JSIOCGCORR/JSCIOCSCORR ioctls now handle all the axes
- Each joystick is now presented as a separate js device
- A manual page has been added
Add linux-js.
This port provides a FreeBSD kernel module implementing the Linux joystick
interface (/dev/input/js0), as well as calibration (jscal) and test (jstest)
utilities.