gamepad.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Fri, 16 Apr 2021 00:11:21 +0300
changeset 2506 04649fd8a394
parent 2225 e7ffc0b15cd5
permissions -rw-r--r--
mvn dependency:get

.. -*- coding: utf-8; -*-

=========
 Gamepad
=========
.. contents::
   :local:

Linux
=====
::

  $ sudo apt-get install joystick
  $ sudo apt-get install jscalibrator
  $ sudo chmod 666 /dev/input/js0

  $ modprobe joydev

  $ jscal /dev/input/js0
  $ jstest /dev/input/js0