HOTKEY DAEMON VERSION 0.2
=========================

Hotkey daemon is a simple program that runs in the background waiting for
a specified key combination to be pressed. When the specified combinantion
is detected, it launches a predefined application.

It can be used to restart the gp2xmenu without restarting the device or
using a telnet session.

The default installation comes with three sample applications. 
 - blctrl toggles the lcd display on and off.
 - fbsave takes a screen shot and stores it in raw format. It can be 
   converted to png with the supplied raw2png tool.
 - setbl from Energy Saver utilities can set the console to a power saving 
 mode (setbl receives as first parameter the CPU Speed for energy saving 
 mode and as second parameter the refresh time, followed by the names of 
 the proceses to be taken as exceptions. If the speed parameter is lower 
 than 20, the program will only turn off the LCD screen and make no CPU 
 speed adjustments at all.)
 - settv from TV Fixer Utility which tries to correct TV parameters for 
 programs that do not support TV-Out feature (Call it using 0 as parameter.
  I.E.: "./settv 0")


INSTALL
=======

Copy the files anywhere on the SD card. Edit the hotkey.gpu script to match
your configuration. The HOTKEY_HOME variable should point to the directory
where the hotkeyd binary is located. HOTKEY_PROG variable should point to 
the application that should be launched. And HOTKEY_ARGS are the arguments.
Finally, set HOTKEY_KEYS to define the keys of the combination to use,
quoted and separated by commas. You can use the following codes for keys:
UP, DOWN, LEFT, RIGHT, L, R, A, B, X, Y, SELECT, START, VOL_UP, VOL_DOWN
and PUSH. The sample file sets L + R + SELECT as default.


RUN
===

Launch hotkey.gpu from the utilities menu.


CONTROLS
========

(defined hotkeys, see INSTALL) - launch the application.
START + VOL_DOWN               - terminate the hotkey daemon.


TODO
====

- Make the daemon exit hotkeys configurable?.
- Maybe a hotkey menu application?


CONTACT
=======

bja@kth.se


VERSION HISTORY
===============

0.2 Kounch mods: Added hotkey configuration option, and setbl and settv utilities
0.1 First Release