---------------------------------------------
 jsCommand.lua  2015/02/28
   Copyright (c) 2015 Jun Mizutani,
   released under the MIT open source license.
---------------------------------------------

install:
------
  tar zxf jscommand.tar.gz
  cd jscommand
  sudo ./install.sh

usage:
  Connecting Joystick/Gamepad to USB, jsCommand.lua will run automatically.

   or

  # stdout
  jsCommand

   or

  # console output (/dev/console)
  jsCommand -c

   or
 
  # verbose mode
  jsCommand -d

   or

  # help
  jsCommand -h

 
key sequence:
-------------
 [A] [B] [X] [Y] [L] [R] [Start] [sElect], up, down, left, right
  BABABA : help
  ESESESES : quit
  uuddlrlrBA : /sbin/shutdown -h now
  uuddlrlrES : /sbin/reboot
  SESE : /bin/sync
  dddd : /bin/cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
  uuuu : /bin/cat /sys/class/thermal/thermal_zone0/temp
  llrr : /sbin/ifconfig -a
  rrrr : /bin/netstat -a
  lrlr : /usr/bin/uptime
  llll : /usr/bin/vmstat -s
  BBBB : /bin/date -R
  EEEE : /bin/ps aux
  SSSS : /usr/bin/pstree -A
  RRRR : /usr/bin/who -a
  rrrl : /usr/bin/who -a
  LLLL : /sbin/lsmod
  lllr : /sbin/lsmod
  uldr : /bin/uname -a
  dudu : /bin/df -kT
  Eddd : /usr/bin/env
