EnglishFrenchSpanish

OnWorks favicon

joy2key - Online in the Cloud

Run joy2key in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command joy2key that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


joy2key - Emulate keyboard events using a Joystick

SYNOPSIS


joy2key Usage: joy2key ["Window Name"]
[ -rawconsole ]
[ -terminal ]
[ -X ]
[ -axis [(axis0) low hi] [(axis1) low hi] ...]
[ -thresh [(axis0) low hi] [(axis1) low hi] ...]
[ -buttons [(button0)] [(button1)] [(button2)] ...]
[ -dev {/dev/input/js0} ]
[ -rcfile {.joy2keyrc} ]
[ -config {no default} ]
[ -autorepeat {(freq) 5} ]
[ -deadzone {(percent) 50} ]

note: [] denotes `optional' option or argument,
() hints at the wanted arguments for options
{} denotes default (compiled-in) parameters

(note: defaults may have been changed by editing joy2key.c)

DESCRIPTION


joy2key monitors the joystick (normally /dev/input/js0) and sends keyboard events to an X
window, terminal, or raw console. In the case of X, xwininfo(1) is used to retrive the
window ID, which should not be a problem as this is a standard utility in most X11
distributions. To find the symbolic name of a particular key, see
include/X11/keysymdef.h. In terminal mode, joy2key sends the ascii character given on the
command line (that is, "joy2key -buttons a" means send lowercase 'a' when the first
joystick button is pushed). In raw console mode, please consult the document
"rawscancodes" included in this distribution for the proper scancodes.

Options
-X Send X events. May be compiled out of your copy of joy2key.

-rawconsole
For SVGALIB and similar programs that put the keyboard in raw mode. Sends
scancodes. May be compiled out of your copy of joy2key.

-terminal
Send ascii characters. May be compiled out of your copy of joy2key.

-axis Specifies actions to send when passing low/high values for each axis. Specified in
pairs, from axis0 ... axisN, that is, the X axis is axis0, then the Y axis (axis1),
then if you have a joystick hat that may be axis 2 and 3, etc. To figure out which
axis is which, use the jstest program that comes with the joystick driver.

-buttons
Similar to -arrows, but for buttons. Goes from button0 ... buttonN, specifying key
to send for each button on joystick. Use the jstest program to determine the
numbering for each button.

-thresh
Specifies low/high thresholds to use (i.e. at what point moving the stick or
pressing the gamepad triggers an event) in pairs, for each joystick axis.

-dev Specifies joystick device to use. Defaults /dev/input/js0 (first joystick)

-autorepeat
Turns on and optionally specifies autorepeat frequency, i.e. the number of times
per second a button which is held down will be repeated.

-deadzone
Controls sensitivity when manually calibrating.

-rcfile
Sets the rc file to look in.

-config
Reads in a config in an rc file.

Use joy2key online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Avogadro
    Avogadro
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 2
    XMLTV
    XMLTV
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    do...
    Download XMLTV
  • 3
    strikr
    strikr
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    (commercial)...
    Download strikr
  • 5
    GIFLIB
    GIFLIB
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 6
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • More »

Linux commands

  • 1
    4s-queryJ
    4s-queryJ
    4s-query � Run SPARQL queries on a
    4store storage backend ...
    Run 4s-queryJ
  • 2
    4ti2-circuits
    4ti2-circuits
    4ti2 - software package for algebraic,
    geometric and combinatorial problems on
    linear spaces ...
    Run 4ti2-circuits
  • 3
    cpufreq-set
    cpufreq-set
    cpufreq-set - A small tool which allows
    to modify cpufreq settings. SYNTAX:
    cpufreq-set [options] DESCRIPTION:
    cpufreq-set allows you to modify cpufreq
    setting...
    Run cpufreq-set
  • 4
    cpufreqd-get
    cpufreqd-get
    cpufreqd-get - Issues "get" commands to
    cpufreqd. SYNTAX: cpufreqd-get [-l]
    PARAMETERS: -l list applied Profiles for
    all cpus. DESCRIPTION: cpufreqd-get
    issues...
    Run cpufreqd-get
  • 5
    gammu
    gammu
    gammu - Does some neat things with your
    cellular phone or modem. ...
    Run gammu
  • 6
    ganglia2pcp
    ganglia2pcp
    ganglia2pcp - import ganglia data and
    create a PCP archive ...
    Run ganglia2pcp
  • More »

Ad