00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef SUPPORTPRIV_H
00025 #define SUPPORTPRIV_H
00026
00027 #include "defines.h"
00028
00029
00030 #define NR_SPECIALS 5
00031
00032 #define EAK_EJECT "EAK_EJECT"
00033 #define EAK_VOLUP "EAK_VOLUP"
00034 #define EAK_VOLDOWN "EAK_VOLDOWN"
00035 #define EAK_MUTE "EAK_MUTE"
00036 #define EAK_SLEEP "EAK_SLEEP"
00037
00038 typedef struct {
00039 gchar *action;
00040 gchar *longname;
00041 } specialact;
00042 static specialact specialacts[NR_SPECIALS] = {
00043 {EAK_EJECT, "Eject CD-ROM"},
00044 {EAK_VOLUP, "Increase volume"},
00045 {EAK_VOLDOWN, "Decrease volume"},
00046 {EAK_MUTE, "Mute volume"},
00047 {EAK_SLEEP, "Sleep"}
00048 };
00049
00050
00051
00052 #define CONF_HEADER \
00053 "# LinEAK - Linux support for Easy Access and Internet Keyboards\n" \
00054 "# Copyright (c) 2001,2002 Mark Smulders <Mark@PIRnet.nl>\n" \
00055 "# http://lineak.sourceforge.net\n" \
00056 "#\n" \
00057 "# lineakd configuration file\n" \
00058 "#\n" \
00059 "# example key configuration:\n" \
00060 "# \tplay\t= \"xmms --play-pause\"\n" \
00061 "# \teject\t= EAK_EJECT\n" \
00062 "#\n" \
00063 "# available special actions:\n" \
00064 "# \tEAK_EJECT\n" \
00065 "# \tEAK_VOLUP\n" \
00066 "# \tEAK_VOLDOWN\n" \
00067 "# \tEAK_MUTE\n" \
00068 "# \tEAK_SLEEP\n" \
00069 "#\n" \
00070 "\n"
00071
00072 #endif