1 /* 2 * Schism Tracker - a cross-platform Impulse Tracker clone 3 * copyright (c) 2003-2005 Storlek <storlek@rigelseven.com> 4 * copyright (c) 2005-2008 Mrs. Brisby <mrs.brisby@nimh.org> 5 * copyright (c) 2009 Storlek & Mrs. Brisby 6 * copyright (c) 2010-2012 Storlek 7 * URL: http://schismtracker.org/ 8 * 9 * This program is free software; you can redistribute it and/or modify 10 * it under the terms of the GNU General Public License as published by 11 * the Free Software Foundation; either version 2 of the License, or 12 * (at your option) any later version. 13 * 14 * This program is distributed in the hope that it will be useful, 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * GNU General Public License for more details. 18 * 19 * You should have received a copy of the GNU General Public License 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 */ 23 #ifndef _schismevent_h 24 #define _schismevent_h 25 26 #include "sdlmain.h" 27 28 #define SCHISM_EVENT_UPDATE_IPMIDI SDL_USEREVENT+0 29 #define SCHISM_EVENT_MIDI SDL_USEREVENT+1 30 #define SCHISM_EVENT_PLAYBACK SDL_USEREVENT+2 31 #define SCHISM_EVENT_NATIVE SDL_USEREVENT+3 32 #define SCHISM_EVENT_PASTE SDL_USEREVENT+4 33 34 #define SCHISM_EVENT_MIDI_NOTE 1 35 #define SCHISM_EVENT_MIDI_CONTROLLER 2 36 #define SCHISM_EVENT_MIDI_PROGRAM 3 37 #define SCHISM_EVENT_MIDI_AFTERTOUCH 4 38 #define SCHISM_EVENT_MIDI_PITCHBEND 5 39 #define SCHISM_EVENT_MIDI_TICK 6 40 #define SCHISM_EVENT_MIDI_SYSEX 7 41 #define SCHISM_EVENT_MIDI_SYSTEM 8 42 43 #define SCHISM_EVENT_NATIVE_OPEN 1 44 #define SCHISM_EVENT_NATIVE_SCRIPT 16 45 46 #endif 47