/* Copyright (C) 2013 Isak Eriksson, Linus Lindgren This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ package lib; public class Constants { public static final int DEFAULT_MAX_CLIENTS = 4; public static final int DEFAULT_NUMBER_OF_BUTTONS = 25; public static final int MY_COMPUTER = 182; public static final int MY_CALCULATOR = 183; public static final int NUM_LOCK = 144; public static final int SCROLL_LOCK = 145; public static final long CLIENT_TIMEOUT = 5000; public static final int MESSAGE_MAX_SIZE = 1000; public static final int SLEEP_BETWEEN_NOTIFY_AND_CLOSE = 200; public static final String SHORT_LICENSE = "\nVirtual Gamepad Host Copyright (C) 2013 Isak Eriksson, Linus Lindgren, Martin Ljungdahl, Patrik Wållgren,\nVictor Olausson, William Dahlberg\n" + "\nThis program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n" + "This is free software, and you are welcome to redistribute it\n" + "under certain conditions; type `show c' for details.\n"; public static final String CONDITIONS = "\nVirtual Gamepad Host- A terminal based host application for the Virtual Gamepad Android application. Uses bluetooth connection between clients and the host application.\n" + "Copyright (C) 2013 Isak Eriksson, Linus Lindgren, Patrik Wållgren\n" + "\nThis program is free software: you can redistribute it and/or modify\n" + "it under the terms of the GNU General Public License as published by\n" + "the Free Software Foundation, either version 3 of the License, or\n" + "(at your option) any later version.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program. If not, see <http://www.gnu.org/licenses/>.\n"; public static final String WARRANTY = "\nVirtual Gamepad Host- A terminal based host application for the Virtual Gamepad Android application. Uses bluetooth connection between clients and the host application.\n" + "Copyright (C) 2013 Isak Eriksson, Linus Lindgren, Patrik Wållgren\n" + "\nThis program is distributed in the hope that it will be useful,\n" + "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + "GNU General Public License for more details.\n" + "\n" + "You should have received a copy of the GNU General Public License\n" + "along with this program. If not, see <http://www.gnu.org/licenses/>.\n"; }