Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/sdl2/mod.ts>EventType

SDL2 module for Deno
Latest
enum EventType
import { EventType } from "https://deno.land/x/sdl2@0.9.0/mod.ts";

An enum that contains structures for the different event types.

Members

AppDidEnterBackground = 260
AppDidEnterForeground = 262
AppLowMemory = 258
AppTerminating = 257
AppWillEnterBackground = 259
AppWillEnterForeground = 261
AudioDeviceAdded = 4352
AudioDeviceRemoved = 4353
Draw
First = 0
KeyDown = 768
KeyUp = 769
Last = 65535
MouseButtonDown = 1025
MouseButtonUp = 1026
MouseMotion = 1024
MouseWheel = 1027
Quit = 256
TextEditing = 770
TextInput = 771
User = 32768
WindowEvent = 512