sdlconcev.inc
ekkehard-morgenstern_asmbasic/sdlconcev.inc
;   AsmBASIC - a BASIC compile and go system written in assembly language
;   Copyright (C) 2022  Ekkehard Morgenstern
;
;   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 <https://www.gnu.org/licenses/>.
;
;   NOTE: Programs created with AsmBASIC do not fall under this license.
;
;   CONTACT INFO:
;       E-Mail: ekkehard@ekkehardmorgenstern.de
;       Mail: Ekkehard Morgenstern, Mozartstr. 1, D-76744 Woerth am Rhein,
;             Germany, Europe

; see implementation notes file provided in "implnotes.txt"

                        cpu         x64
                        bits        64

; results from sdl_waitepoll
SDL_WEP_ERROR           equ         1 ; an error occurred
SDL_WEP_TIMEDOUT        equ         2 ; no event, timed out
SDL_WEP_SIGNALLED       equ         4 ; EINTR occurred, process received signal
SDL_WEP_WORKERINITDONE  equ         8 ; worker thread has been initialized
SDL_WEP_WORKERDOWN      equ         16 ; worker thread terminated itself
SDL_WEP_SPECIALKEY      equ         32 ; a special key was pressed
SDL_WEP_REGULARKEY      equ         64 ; a regular key was pressed
