{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE ExplicitForAll #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE MagicHash #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UnboxedTuples #-}
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
module SDL3.Sys.Bindgen.Keycode (
SDL3.Sys.Bindgen.Keycode.SDL_Keycode (..),
SDL3.Sys.Bindgen.Keycode.sDLK_EXTENDED_MASK,
SDL3.Sys.Bindgen.Keycode.sDLK_SCANCODE_MASK,
SDL3.Sys.Bindgen.Keycode.sDL_SCANCODE_TO_KEYCODE,
SDL3.Sys.Bindgen.Keycode.sDLK_UNKNOWN,
SDL3.Sys.Bindgen.Keycode.sDLK_RETURN,
SDL3.Sys.Bindgen.Keycode.sDLK_ESCAPE,
SDL3.Sys.Bindgen.Keycode.sDLK_BACKSPACE,
SDL3.Sys.Bindgen.Keycode.sDLK_TAB,
SDL3.Sys.Bindgen.Keycode.sDLK_SPACE,
SDL3.Sys.Bindgen.Keycode.sDLK_EXCLAIM,
SDL3.Sys.Bindgen.Keycode.sDLK_DBLAPOSTROPHE,
SDL3.Sys.Bindgen.Keycode.sDLK_HASH,
SDL3.Sys.Bindgen.Keycode.sDLK_DOLLAR,
SDL3.Sys.Bindgen.Keycode.sDLK_PERCENT,
SDL3.Sys.Bindgen.Keycode.sDLK_AMPERSAND,
SDL3.Sys.Bindgen.Keycode.sDLK_APOSTROPHE,
SDL3.Sys.Bindgen.Keycode.sDLK_LEFTPAREN,
SDL3.Sys.Bindgen.Keycode.sDLK_RIGHTPAREN,
SDL3.Sys.Bindgen.Keycode.sDLK_ASTERISK,
SDL3.Sys.Bindgen.Keycode.sDLK_PLUS,
SDL3.Sys.Bindgen.Keycode.sDLK_COMMA,
SDL3.Sys.Bindgen.Keycode.sDLK_MINUS,
SDL3.Sys.Bindgen.Keycode.sDLK_PERIOD,
SDL3.Sys.Bindgen.Keycode.sDLK_SLASH,
SDL3.Sys.Bindgen.Keycode.sDLK_0,
SDL3.Sys.Bindgen.Keycode.sDLK_1,
SDL3.Sys.Bindgen.Keycode.sDLK_2,
SDL3.Sys.Bindgen.Keycode.sDLK_3,
SDL3.Sys.Bindgen.Keycode.sDLK_4,
SDL3.Sys.Bindgen.Keycode.sDLK_5,
SDL3.Sys.Bindgen.Keycode.sDLK_6,
SDL3.Sys.Bindgen.Keycode.sDLK_7,
SDL3.Sys.Bindgen.Keycode.sDLK_8,
SDL3.Sys.Bindgen.Keycode.sDLK_9,
SDL3.Sys.Bindgen.Keycode.sDLK_COLON,
SDL3.Sys.Bindgen.Keycode.sDLK_SEMICOLON,
SDL3.Sys.Bindgen.Keycode.sDLK_LESS,
SDL3.Sys.Bindgen.Keycode.sDLK_EQUALS,
SDL3.Sys.Bindgen.Keycode.sDLK_GREATER,
SDL3.Sys.Bindgen.Keycode.sDLK_QUESTION,
SDL3.Sys.Bindgen.Keycode.sDLK_AT,
SDL3.Sys.Bindgen.Keycode.sDLK_LEFTBRACKET,
SDL3.Sys.Bindgen.Keycode.sDLK_BACKSLASH,
SDL3.Sys.Bindgen.Keycode.sDLK_RIGHTBRACKET,
SDL3.Sys.Bindgen.Keycode.sDLK_CARET,
SDL3.Sys.Bindgen.Keycode.sDLK_UNDERSCORE,
SDL3.Sys.Bindgen.Keycode.sDLK_GRAVE,
SDL3.Sys.Bindgen.Keycode.sDLK_A,
SDL3.Sys.Bindgen.Keycode.sDLK_B,
SDL3.Sys.Bindgen.Keycode.sDLK_C,
SDL3.Sys.Bindgen.Keycode.sDLK_D,
SDL3.Sys.Bindgen.Keycode.sDLK_E,
SDL3.Sys.Bindgen.Keycode.sDLK_F,
SDL3.Sys.Bindgen.Keycode.sDLK_G,
SDL3.Sys.Bindgen.Keycode.sDLK_H,
SDL3.Sys.Bindgen.Keycode.sDLK_I,
SDL3.Sys.Bindgen.Keycode.sDLK_J,
SDL3.Sys.Bindgen.Keycode.sDLK_K,
SDL3.Sys.Bindgen.Keycode.sDLK_L,
SDL3.Sys.Bindgen.Keycode.sDLK_M,
SDL3.Sys.Bindgen.Keycode.sDLK_N,
SDL3.Sys.Bindgen.Keycode.sDLK_O,
SDL3.Sys.Bindgen.Keycode.sDLK_P,
SDL3.Sys.Bindgen.Keycode.sDLK_Q,
SDL3.Sys.Bindgen.Keycode.sDLK_R,
SDL3.Sys.Bindgen.Keycode.sDLK_S,
SDL3.Sys.Bindgen.Keycode.sDLK_T,
SDL3.Sys.Bindgen.Keycode.sDLK_U,
SDL3.Sys.Bindgen.Keycode.sDLK_V,
SDL3.Sys.Bindgen.Keycode.sDLK_W,
SDL3.Sys.Bindgen.Keycode.sDLK_X,
SDL3.Sys.Bindgen.Keycode.sDLK_Y,
SDL3.Sys.Bindgen.Keycode.sDLK_Z,
SDL3.Sys.Bindgen.Keycode.sDLK_LEFTBRACE,
SDL3.Sys.Bindgen.Keycode.sDLK_PIPE,
SDL3.Sys.Bindgen.Keycode.sDLK_RIGHTBRACE,
SDL3.Sys.Bindgen.Keycode.sDLK_TILDE,
SDL3.Sys.Bindgen.Keycode.sDLK_DELETE,
SDL3.Sys.Bindgen.Keycode.sDLK_PLUSMINUS,
SDL3.Sys.Bindgen.Keycode.sDLK_CAPSLOCK,
SDL3.Sys.Bindgen.Keycode.sDLK_F1,
SDL3.Sys.Bindgen.Keycode.sDLK_F2,
SDL3.Sys.Bindgen.Keycode.sDLK_F3,
SDL3.Sys.Bindgen.Keycode.sDLK_F4,
SDL3.Sys.Bindgen.Keycode.sDLK_F5,
SDL3.Sys.Bindgen.Keycode.sDLK_F6,
SDL3.Sys.Bindgen.Keycode.sDLK_F7,
SDL3.Sys.Bindgen.Keycode.sDLK_F8,
SDL3.Sys.Bindgen.Keycode.sDLK_F9,
SDL3.Sys.Bindgen.Keycode.sDLK_F10,
SDL3.Sys.Bindgen.Keycode.sDLK_F11,
SDL3.Sys.Bindgen.Keycode.sDLK_F12,
SDL3.Sys.Bindgen.Keycode.sDLK_PRINTSCREEN,
SDL3.Sys.Bindgen.Keycode.sDLK_SCROLLLOCK,
SDL3.Sys.Bindgen.Keycode.sDLK_PAUSE,
SDL3.Sys.Bindgen.Keycode.sDLK_INSERT,
SDL3.Sys.Bindgen.Keycode.sDLK_HOME,
SDL3.Sys.Bindgen.Keycode.sDLK_PAGEUP,
SDL3.Sys.Bindgen.Keycode.sDLK_END,
SDL3.Sys.Bindgen.Keycode.sDLK_PAGEDOWN,
SDL3.Sys.Bindgen.Keycode.sDLK_RIGHT,
SDL3.Sys.Bindgen.Keycode.sDLK_LEFT,
SDL3.Sys.Bindgen.Keycode.sDLK_DOWN,
SDL3.Sys.Bindgen.Keycode.sDLK_UP,
SDL3.Sys.Bindgen.Keycode.sDLK_NUMLOCKCLEAR,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_DIVIDE,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_MULTIPLY,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_MINUS,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_PLUS,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_ENTER,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_1,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_2,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_3,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_4,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_5,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_6,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_7,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_8,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_9,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_0,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_PERIOD,
SDL3.Sys.Bindgen.Keycode.sDLK_APPLICATION,
SDL3.Sys.Bindgen.Keycode.sDLK_POWER,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_EQUALS,
SDL3.Sys.Bindgen.Keycode.sDLK_F13,
SDL3.Sys.Bindgen.Keycode.sDLK_F14,
SDL3.Sys.Bindgen.Keycode.sDLK_F15,
SDL3.Sys.Bindgen.Keycode.sDLK_F16,
SDL3.Sys.Bindgen.Keycode.sDLK_F17,
SDL3.Sys.Bindgen.Keycode.sDLK_F18,
SDL3.Sys.Bindgen.Keycode.sDLK_F19,
SDL3.Sys.Bindgen.Keycode.sDLK_F20,
SDL3.Sys.Bindgen.Keycode.sDLK_F21,
SDL3.Sys.Bindgen.Keycode.sDLK_F22,
SDL3.Sys.Bindgen.Keycode.sDLK_F23,
SDL3.Sys.Bindgen.Keycode.sDLK_F24,
SDL3.Sys.Bindgen.Keycode.sDLK_EXECUTE,
SDL3.Sys.Bindgen.Keycode.sDLK_HELP,
SDL3.Sys.Bindgen.Keycode.sDLK_MENU,
SDL3.Sys.Bindgen.Keycode.sDLK_SELECT,
SDL3.Sys.Bindgen.Keycode.sDLK_STOP,
SDL3.Sys.Bindgen.Keycode.sDLK_AGAIN,
SDL3.Sys.Bindgen.Keycode.sDLK_UNDO,
SDL3.Sys.Bindgen.Keycode.sDLK_CUT,
SDL3.Sys.Bindgen.Keycode.sDLK_COPY,
SDL3.Sys.Bindgen.Keycode.sDLK_PASTE,
SDL3.Sys.Bindgen.Keycode.sDLK_FIND,
SDL3.Sys.Bindgen.Keycode.sDLK_MUTE,
SDL3.Sys.Bindgen.Keycode.sDLK_VOLUMEUP,
SDL3.Sys.Bindgen.Keycode.sDLK_VOLUMEDOWN,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_COMMA,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_EQUALSAS400,
SDL3.Sys.Bindgen.Keycode.sDLK_ALTERASE,
SDL3.Sys.Bindgen.Keycode.sDLK_SYSREQ,
SDL3.Sys.Bindgen.Keycode.sDLK_CANCEL,
SDL3.Sys.Bindgen.Keycode.sDLK_CLEAR,
SDL3.Sys.Bindgen.Keycode.sDLK_PRIOR,
SDL3.Sys.Bindgen.Keycode.sDLK_RETURN2,
SDL3.Sys.Bindgen.Keycode.sDLK_SEPARATOR,
SDL3.Sys.Bindgen.Keycode.sDLK_OUT,
SDL3.Sys.Bindgen.Keycode.sDLK_OPER,
SDL3.Sys.Bindgen.Keycode.sDLK_CLEARAGAIN,
SDL3.Sys.Bindgen.Keycode.sDLK_CRSEL,
SDL3.Sys.Bindgen.Keycode.sDLK_EXSEL,
SDL3.Sys.Bindgen.Keycode.sDLK_FRONT,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_00,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_000,
SDL3.Sys.Bindgen.Keycode.sDLK_THOUSANDSSEPARATOR,
SDL3.Sys.Bindgen.Keycode.sDLK_DECIMALSEPARATOR,
SDL3.Sys.Bindgen.Keycode.sDLK_CURRENCYUNIT,
SDL3.Sys.Bindgen.Keycode.sDLK_CURRENCYSUBUNIT,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_LEFTPAREN,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_RIGHTPAREN,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_LEFTBRACE,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_RIGHTBRACE,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_TAB,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_BACKSPACE,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_A,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_B,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_C,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_D,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_E,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_F,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_XOR,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_POWER,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_PERCENT,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_LESS,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_GREATER,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_AMPERSAND,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_DBLAMPERSAND,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_VERTICALBAR,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_DBLVERTICALBAR,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_COLON,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_HASH,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_SPACE,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_AT,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_EXCLAM,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_MEMSTORE,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_MEMRECALL,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_MEMCLEAR,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_MEMADD,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_MEMSUBTRACT,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_MEMMULTIPLY,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_MEMDIVIDE,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_PLUSMINUS,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_CLEAR,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_CLEARENTRY,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_BINARY,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_OCTAL,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_DECIMAL,
SDL3.Sys.Bindgen.Keycode.sDLK_KP_HEXADECIMAL,
SDL3.Sys.Bindgen.Keycode.sDLK_LCTRL,
SDL3.Sys.Bindgen.Keycode.sDLK_LSHIFT,
SDL3.Sys.Bindgen.Keycode.sDLK_LALT,
SDL3.Sys.Bindgen.Keycode.sDLK_LGUI,
SDL3.Sys.Bindgen.Keycode.sDLK_RCTRL,
SDL3.Sys.Bindgen.Keycode.sDLK_RSHIFT,
SDL3.Sys.Bindgen.Keycode.sDLK_RALT,
SDL3.Sys.Bindgen.Keycode.sDLK_RGUI,
SDL3.Sys.Bindgen.Keycode.sDLK_MODE,
SDL3.Sys.Bindgen.Keycode.sDLK_SLEEP,
SDL3.Sys.Bindgen.Keycode.sDLK_WAKE,
SDL3.Sys.Bindgen.Keycode.sDLK_CHANNEL_INCREMENT,
SDL3.Sys.Bindgen.Keycode.sDLK_CHANNEL_DECREMENT,
SDL3.Sys.Bindgen.Keycode.sDLK_MEDIA_PLAY,
SDL3.Sys.Bindgen.Keycode.sDLK_MEDIA_PAUSE,
SDL3.Sys.Bindgen.Keycode.sDLK_MEDIA_RECORD,
SDL3.Sys.Bindgen.Keycode.sDLK_MEDIA_FAST_FORWARD,
SDL3.Sys.Bindgen.Keycode.sDLK_MEDIA_REWIND,
SDL3.Sys.Bindgen.Keycode.sDLK_MEDIA_NEXT_TRACK,
SDL3.Sys.Bindgen.Keycode.sDLK_MEDIA_PREVIOUS_TRACK,
SDL3.Sys.Bindgen.Keycode.sDLK_MEDIA_STOP,
SDL3.Sys.Bindgen.Keycode.sDLK_MEDIA_EJECT,
SDL3.Sys.Bindgen.Keycode.sDLK_MEDIA_PLAY_PAUSE,
SDL3.Sys.Bindgen.Keycode.sDLK_MEDIA_SELECT,
SDL3.Sys.Bindgen.Keycode.sDLK_AC_NEW,
SDL3.Sys.Bindgen.Keycode.sDLK_AC_OPEN,
SDL3.Sys.Bindgen.Keycode.sDLK_AC_CLOSE,
SDL3.Sys.Bindgen.Keycode.sDLK_AC_EXIT,
SDL3.Sys.Bindgen.Keycode.sDLK_AC_SAVE,
SDL3.Sys.Bindgen.Keycode.sDLK_AC_PRINT,
SDL3.Sys.Bindgen.Keycode.sDLK_AC_PROPERTIES,
SDL3.Sys.Bindgen.Keycode.sDLK_AC_SEARCH,
SDL3.Sys.Bindgen.Keycode.sDLK_AC_HOME,
SDL3.Sys.Bindgen.Keycode.sDLK_AC_BACK,
SDL3.Sys.Bindgen.Keycode.sDLK_AC_FORWARD,
SDL3.Sys.Bindgen.Keycode.sDLK_AC_STOP,
SDL3.Sys.Bindgen.Keycode.sDLK_AC_REFRESH,
SDL3.Sys.Bindgen.Keycode.sDLK_AC_BOOKMARKS,
SDL3.Sys.Bindgen.Keycode.sDLK_SOFTLEFT,
SDL3.Sys.Bindgen.Keycode.sDLK_SOFTRIGHT,
SDL3.Sys.Bindgen.Keycode.sDLK_CALL,
SDL3.Sys.Bindgen.Keycode.sDLK_ENDCALL,
SDL3.Sys.Bindgen.Keycode.sDLK_LEFT_TAB,
SDL3.Sys.Bindgen.Keycode.sDLK_LEVEL5_SHIFT,
SDL3.Sys.Bindgen.Keycode.sDLK_MULTI_KEY_COMPOSE,
SDL3.Sys.Bindgen.Keycode.sDLK_LMETA,
SDL3.Sys.Bindgen.Keycode.sDLK_RMETA,
SDL3.Sys.Bindgen.Keycode.sDLK_LHYPER,
SDL3.Sys.Bindgen.Keycode.sDLK_RHYPER,
SDL3.Sys.Bindgen.Keycode.SDL_Keymod (..),
SDL3.Sys.Bindgen.Keycode.sDL_KMOD_NONE,
SDL3.Sys.Bindgen.Keycode.sDL_KMOD_LSHIFT,
SDL3.Sys.Bindgen.Keycode.sDL_KMOD_RSHIFT,
SDL3.Sys.Bindgen.Keycode.sDL_KMOD_LEVEL5,
SDL3.Sys.Bindgen.Keycode.sDL_KMOD_LCTRL,
SDL3.Sys.Bindgen.Keycode.sDL_KMOD_RCTRL,
SDL3.Sys.Bindgen.Keycode.sDL_KMOD_LALT,
SDL3.Sys.Bindgen.Keycode.sDL_KMOD_RALT,
SDL3.Sys.Bindgen.Keycode.sDL_KMOD_LGUI,
SDL3.Sys.Bindgen.Keycode.sDL_KMOD_RGUI,
SDL3.Sys.Bindgen.Keycode.sDL_KMOD_NUM,
SDL3.Sys.Bindgen.Keycode.sDL_KMOD_CAPS,
SDL3.Sys.Bindgen.Keycode.sDL_KMOD_MODE,
SDL3.Sys.Bindgen.Keycode.sDL_KMOD_SCROLL,
SDL3.Sys.Bindgen.Keycode.sDL_KMOD_CTRL,
SDL3.Sys.Bindgen.Keycode.sDL_KMOD_SHIFT,
SDL3.Sys.Bindgen.Keycode.sDL_KMOD_ALT,
SDL3.Sys.Bindgen.Keycode.sDL_KMOD_GUI,
)
where
import Prelude (Bounded, Enum, Eq, Integral, Num, Ord, Read, Real, Show, type (~))
import C.Expr.HostPlatform qualified
import HsBindgen.Runtime.HasCField qualified as HasCField
import HsBindgen.Runtime.Marshal qualified as Marshal
import HsBindgen.Runtime.Support qualified as BG
import HsBindgen.Runtime.Support.CompatHasField qualified as BG.CompatHasField
import SDL3.Sys.Bindgen.Stdinc qualified
newtype SDL_Keycode = SDL_Keycode
{ SDL_Keycode -> Uint32
unwrap :: SDL3.Sys.Bindgen.Stdinc.Uint32
}
deriving stock ((forall x. SDL_Keycode -> Rep SDL_Keycode x)
-> (forall x. Rep SDL_Keycode x -> SDL_Keycode)
-> Generic SDL_Keycode
forall x. Rep SDL_Keycode x -> SDL_Keycode
forall x. SDL_Keycode -> Rep SDL_Keycode x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_Keycode -> Rep SDL_Keycode x
from :: forall x. SDL_Keycode -> Rep SDL_Keycode x
$cto :: forall x. Rep SDL_Keycode x -> SDL_Keycode
to :: forall x. Rep SDL_Keycode x -> SDL_Keycode
BG.Generic, SDL_Keycode -> SDL_Keycode -> Bool
(SDL_Keycode -> SDL_Keycode -> Bool)
-> (SDL_Keycode -> SDL_Keycode -> Bool) -> Eq SDL_Keycode
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_Keycode -> SDL_Keycode -> Bool
== :: SDL_Keycode -> SDL_Keycode -> Bool
$c/= :: SDL_Keycode -> SDL_Keycode -> Bool
/= :: SDL_Keycode -> SDL_Keycode -> Bool
Eq, Eq SDL_Keycode
Eq SDL_Keycode =>
(SDL_Keycode -> SDL_Keycode -> Ordering)
-> (SDL_Keycode -> SDL_Keycode -> Bool)
-> (SDL_Keycode -> SDL_Keycode -> Bool)
-> (SDL_Keycode -> SDL_Keycode -> Bool)
-> (SDL_Keycode -> SDL_Keycode -> Bool)
-> (SDL_Keycode -> SDL_Keycode -> SDL_Keycode)
-> (SDL_Keycode -> SDL_Keycode -> SDL_Keycode)
-> Ord SDL_Keycode
SDL_Keycode -> SDL_Keycode -> Bool
SDL_Keycode -> SDL_Keycode -> Ordering
SDL_Keycode -> SDL_Keycode -> SDL_Keycode
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_Keycode -> SDL_Keycode -> Ordering
compare :: SDL_Keycode -> SDL_Keycode -> Ordering
$c< :: SDL_Keycode -> SDL_Keycode -> Bool
< :: SDL_Keycode -> SDL_Keycode -> Bool
$c<= :: SDL_Keycode -> SDL_Keycode -> Bool
<= :: SDL_Keycode -> SDL_Keycode -> Bool
$c> :: SDL_Keycode -> SDL_Keycode -> Bool
> :: SDL_Keycode -> SDL_Keycode -> Bool
$c>= :: SDL_Keycode -> SDL_Keycode -> Bool
>= :: SDL_Keycode -> SDL_Keycode -> Bool
$cmax :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
max :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
$cmin :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
min :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
Ord, ReadPrec [SDL_Keycode]
ReadPrec SDL_Keycode
Int -> ReadS SDL_Keycode
ReadS [SDL_Keycode]
(Int -> ReadS SDL_Keycode)
-> ReadS [SDL_Keycode]
-> ReadPrec SDL_Keycode
-> ReadPrec [SDL_Keycode]
-> Read SDL_Keycode
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
$creadsPrec :: Int -> ReadS SDL_Keycode
readsPrec :: Int -> ReadS SDL_Keycode
$creadList :: ReadS [SDL_Keycode]
readList :: ReadS [SDL_Keycode]
$creadPrec :: ReadPrec SDL_Keycode
readPrec :: ReadPrec SDL_Keycode
$creadListPrec :: ReadPrec [SDL_Keycode]
readListPrec :: ReadPrec [SDL_Keycode]
Read, Int -> SDL_Keycode -> ShowS
[SDL_Keycode] -> ShowS
SDL_Keycode -> String
(Int -> SDL_Keycode -> ShowS)
-> (SDL_Keycode -> String)
-> ([SDL_Keycode] -> ShowS)
-> Show SDL_Keycode
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SDL_Keycode -> ShowS
showsPrec :: Int -> SDL_Keycode -> ShowS
$cshow :: SDL_Keycode -> String
show :: SDL_Keycode -> String
$cshowList :: [SDL_Keycode] -> ShowS
showList :: [SDL_Keycode] -> ShowS
Show)
deriving newtype
( Word64 -> Int -> SDL_Keycode
SDL_Keycode -> Int -> Word64
(SDL_Keycode -> Int -> Word64)
-> (Word64 -> Int -> SDL_Keycode) -> Bitfield SDL_Keycode
forall a.
(a -> Int -> Word64) -> (Word64 -> Int -> a) -> Bitfield a
$cnarrow :: SDL_Keycode -> Int -> Word64
narrow :: SDL_Keycode -> Int -> Word64
$cextend :: Word64 -> Int -> SDL_Keycode
extend :: Word64 -> Int -> SDL_Keycode
BG.Bitfield
, Eq SDL_Keycode
SDL_Keycode
Eq SDL_Keycode =>
(SDL_Keycode -> SDL_Keycode -> SDL_Keycode)
-> (SDL_Keycode -> SDL_Keycode -> SDL_Keycode)
-> (SDL_Keycode -> SDL_Keycode -> SDL_Keycode)
-> (SDL_Keycode -> SDL_Keycode)
-> (SDL_Keycode -> Int -> SDL_Keycode)
-> (SDL_Keycode -> Int -> SDL_Keycode)
-> SDL_Keycode
-> (Int -> SDL_Keycode)
-> (SDL_Keycode -> Int -> SDL_Keycode)
-> (SDL_Keycode -> Int -> SDL_Keycode)
-> (SDL_Keycode -> Int -> SDL_Keycode)
-> (SDL_Keycode -> Int -> Bool)
-> (SDL_Keycode -> Maybe Int)
-> (SDL_Keycode -> Int)
-> (SDL_Keycode -> Bool)
-> (SDL_Keycode -> Int -> SDL_Keycode)
-> (SDL_Keycode -> Int -> SDL_Keycode)
-> (SDL_Keycode -> Int -> SDL_Keycode)
-> (SDL_Keycode -> Int -> SDL_Keycode)
-> (SDL_Keycode -> Int -> SDL_Keycode)
-> (SDL_Keycode -> Int -> SDL_Keycode)
-> (SDL_Keycode -> Int)
-> Bits SDL_Keycode
Int -> SDL_Keycode
SDL_Keycode -> Bool
SDL_Keycode -> Int
SDL_Keycode -> Maybe Int
SDL_Keycode -> SDL_Keycode
SDL_Keycode -> Int -> Bool
SDL_Keycode -> Int -> SDL_Keycode
SDL_Keycode -> SDL_Keycode -> SDL_Keycode
forall a.
Eq a =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> a
-> (Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> Bool)
-> (a -> Maybe Int)
-> (a -> Int)
-> (a -> Bool)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int)
-> Bits a
$c.&. :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
.&. :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
$c.|. :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
.|. :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
$cxor :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
xor :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
$ccomplement :: SDL_Keycode -> SDL_Keycode
complement :: SDL_Keycode -> SDL_Keycode
$cshift :: SDL_Keycode -> Int -> SDL_Keycode
shift :: SDL_Keycode -> Int -> SDL_Keycode
$crotate :: SDL_Keycode -> Int -> SDL_Keycode
rotate :: SDL_Keycode -> Int -> SDL_Keycode
$czeroBits :: SDL_Keycode
zeroBits :: SDL_Keycode
$cbit :: Int -> SDL_Keycode
bit :: Int -> SDL_Keycode
$csetBit :: SDL_Keycode -> Int -> SDL_Keycode
setBit :: SDL_Keycode -> Int -> SDL_Keycode
$cclearBit :: SDL_Keycode -> Int -> SDL_Keycode
clearBit :: SDL_Keycode -> Int -> SDL_Keycode
$ccomplementBit :: SDL_Keycode -> Int -> SDL_Keycode
complementBit :: SDL_Keycode -> Int -> SDL_Keycode
$ctestBit :: SDL_Keycode -> Int -> Bool
testBit :: SDL_Keycode -> Int -> Bool
$cbitSizeMaybe :: SDL_Keycode -> Maybe Int
bitSizeMaybe :: SDL_Keycode -> Maybe Int
$cbitSize :: SDL_Keycode -> Int
bitSize :: SDL_Keycode -> Int
$cisSigned :: SDL_Keycode -> Bool
isSigned :: SDL_Keycode -> Bool
$cshiftL :: SDL_Keycode -> Int -> SDL_Keycode
shiftL :: SDL_Keycode -> Int -> SDL_Keycode
$cunsafeShiftL :: SDL_Keycode -> Int -> SDL_Keycode
unsafeShiftL :: SDL_Keycode -> Int -> SDL_Keycode
$cshiftR :: SDL_Keycode -> Int -> SDL_Keycode
shiftR :: SDL_Keycode -> Int -> SDL_Keycode
$cunsafeShiftR :: SDL_Keycode -> Int -> SDL_Keycode
unsafeShiftR :: SDL_Keycode -> Int -> SDL_Keycode
$crotateL :: SDL_Keycode -> Int -> SDL_Keycode
rotateL :: SDL_Keycode -> Int -> SDL_Keycode
$crotateR :: SDL_Keycode -> Int -> SDL_Keycode
rotateR :: SDL_Keycode -> Int -> SDL_Keycode
$cpopCount :: SDL_Keycode -> Int
popCount :: SDL_Keycode -> Int
BG.Bits
, Bits SDL_Keycode
Bits SDL_Keycode =>
(SDL_Keycode -> Int)
-> (SDL_Keycode -> Int)
-> (SDL_Keycode -> Int)
-> FiniteBits SDL_Keycode
SDL_Keycode -> Int
forall b.
Bits b =>
(b -> Int) -> (b -> Int) -> (b -> Int) -> FiniteBits b
$cfiniteBitSize :: SDL_Keycode -> Int
finiteBitSize :: SDL_Keycode -> Int
$ccountLeadingZeros :: SDL_Keycode -> Int
countLeadingZeros :: SDL_Keycode -> Int
$ccountTrailingZeros :: SDL_Keycode -> Int
countTrailingZeros :: SDL_Keycode -> Int
BG.FiniteBits
, FFIType SDL_Keycode -> SDL_Keycode
SDL_Keycode -> FFIType SDL_Keycode
(SDL_Keycode -> FFIType SDL_Keycode)
-> (FFIType SDL_Keycode -> SDL_Keycode) -> HasFFIType SDL_Keycode
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_Keycode -> FFIType SDL_Keycode
toFFIType :: SDL_Keycode -> FFIType SDL_Keycode
$cfromFFIType :: FFIType SDL_Keycode -> SDL_Keycode
fromFFIType :: FFIType SDL_Keycode -> SDL_Keycode
BG.HasFFIType
, Ord SDL_Keycode
Ord SDL_Keycode =>
((SDL_Keycode, SDL_Keycode) -> [SDL_Keycode])
-> ((SDL_Keycode, SDL_Keycode) -> SDL_Keycode -> Int)
-> ((SDL_Keycode, SDL_Keycode) -> SDL_Keycode -> Int)
-> ((SDL_Keycode, SDL_Keycode) -> SDL_Keycode -> Bool)
-> ((SDL_Keycode, SDL_Keycode) -> Int)
-> ((SDL_Keycode, SDL_Keycode) -> Int)
-> Ix SDL_Keycode
(SDL_Keycode, SDL_Keycode) -> Int
(SDL_Keycode, SDL_Keycode) -> [SDL_Keycode]
(SDL_Keycode, SDL_Keycode) -> SDL_Keycode -> Bool
(SDL_Keycode, SDL_Keycode) -> SDL_Keycode -> Int
forall a.
Ord a =>
((a, a) -> [a])
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Bool)
-> ((a, a) -> Int)
-> ((a, a) -> Int)
-> Ix a
$crange :: (SDL_Keycode, SDL_Keycode) -> [SDL_Keycode]
range :: (SDL_Keycode, SDL_Keycode) -> [SDL_Keycode]
$cindex :: (SDL_Keycode, SDL_Keycode) -> SDL_Keycode -> Int
index :: (SDL_Keycode, SDL_Keycode) -> SDL_Keycode -> Int
$cunsafeIndex :: (SDL_Keycode, SDL_Keycode) -> SDL_Keycode -> Int
unsafeIndex :: (SDL_Keycode, SDL_Keycode) -> SDL_Keycode -> Int
$cinRange :: (SDL_Keycode, SDL_Keycode) -> SDL_Keycode -> Bool
inRange :: (SDL_Keycode, SDL_Keycode) -> SDL_Keycode -> Bool
$crangeSize :: (SDL_Keycode, SDL_Keycode) -> Int
rangeSize :: (SDL_Keycode, SDL_Keycode) -> Int
$cunsafeRangeSize :: (SDL_Keycode, SDL_Keycode) -> Int
unsafeRangeSize :: (SDL_Keycode, SDL_Keycode) -> Int
BG.Ix
, Addr# -> Int# -> SDL_Keycode
ByteArray# -> Int# -> SDL_Keycode
Proxy SDL_Keycode -> Int#
SDL_Keycode -> Int#
(Proxy SDL_Keycode -> Int#)
-> (SDL_Keycode -> Int#)
-> (Proxy SDL_Keycode -> Int#)
-> (SDL_Keycode -> Int#)
-> (ByteArray# -> Int# -> SDL_Keycode)
-> (forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_Keycode #))
-> (forall s.
MutableByteArray# s -> Int# -> SDL_Keycode -> State# s -> State# s)
-> (forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_Keycode -> State# s -> State# s)
-> (Addr# -> Int# -> SDL_Keycode)
-> (forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_Keycode #))
-> (forall s. Addr# -> Int# -> SDL_Keycode -> State# s -> State# s)
-> (forall s.
Addr# -> Int# -> Int# -> SDL_Keycode -> State# s -> State# s)
-> Prim SDL_Keycode
forall s.
Addr# -> Int# -> Int# -> SDL_Keycode -> State# s -> State# s
forall s. Addr# -> Int# -> State# s -> (# State# s, SDL_Keycode #)
forall s. Addr# -> Int# -> SDL_Keycode -> State# s -> State# s
forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_Keycode -> State# s -> State# s
forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_Keycode #)
forall s.
MutableByteArray# s -> Int# -> SDL_Keycode -> State# s -> State# s
forall a.
(Proxy a -> Int#)
-> (a -> Int#)
-> (Proxy a -> Int#)
-> (a -> Int#)
-> (ByteArray# -> Int# -> a)
-> (forall s.
MutableByteArray# s -> Int# -> State# s -> (# State# s, a #))
-> (forall s.
MutableByteArray# s -> Int# -> a -> State# s -> State# s)
-> (forall s.
MutableByteArray# s -> Int# -> Int# -> a -> State# s -> State# s)
-> (Addr# -> Int# -> a)
-> (forall s. Addr# -> Int# -> State# s -> (# State# s, a #))
-> (forall s. Addr# -> Int# -> a -> State# s -> State# s)
-> (forall s. Addr# -> Int# -> Int# -> a -> State# s -> State# s)
-> Prim a
$csizeOfType# :: Proxy SDL_Keycode -> Int#
sizeOfType# :: Proxy SDL_Keycode -> Int#
$csizeOf# :: SDL_Keycode -> Int#
sizeOf# :: SDL_Keycode -> Int#
$calignmentOfType# :: Proxy SDL_Keycode -> Int#
alignmentOfType# :: Proxy SDL_Keycode -> Int#
$calignment# :: SDL_Keycode -> Int#
alignment# :: SDL_Keycode -> Int#
$cindexByteArray# :: ByteArray# -> Int# -> SDL_Keycode
indexByteArray# :: ByteArray# -> Int# -> SDL_Keycode
$creadByteArray# :: forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_Keycode #)
readByteArray# :: forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_Keycode #)
$cwriteByteArray# :: forall s.
MutableByteArray# s -> Int# -> SDL_Keycode -> State# s -> State# s
writeByteArray# :: forall s.
MutableByteArray# s -> Int# -> SDL_Keycode -> State# s -> State# s
$csetByteArray# :: forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_Keycode -> State# s -> State# s
setByteArray# :: forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_Keycode -> State# s -> State# s
$cindexOffAddr# :: Addr# -> Int# -> SDL_Keycode
indexOffAddr# :: Addr# -> Int# -> SDL_Keycode
$creadOffAddr# :: forall s. Addr# -> Int# -> State# s -> (# State# s, SDL_Keycode #)
readOffAddr# :: forall s. Addr# -> Int# -> State# s -> (# State# s, SDL_Keycode #)
$cwriteOffAddr# :: forall s. Addr# -> Int# -> SDL_Keycode -> State# s -> State# s
writeOffAddr# :: forall s. Addr# -> Int# -> SDL_Keycode -> State# s -> State# s
$csetOffAddr# :: forall s.
Addr# -> Int# -> Int# -> SDL_Keycode -> State# s -> State# s
setOffAddr# :: forall s.
Addr# -> Int# -> Int# -> SDL_Keycode -> State# s -> State# s
BG.Prim
, Ptr SDL_Keycode -> IO SDL_Keycode
Ptr SDL_Keycode -> Int -> IO SDL_Keycode
Ptr SDL_Keycode -> Int -> SDL_Keycode -> IO ()
Ptr SDL_Keycode -> SDL_Keycode -> IO ()
SDL_Keycode -> Int
(SDL_Keycode -> Int)
-> (SDL_Keycode -> Int)
-> (Ptr SDL_Keycode -> Int -> IO SDL_Keycode)
-> (Ptr SDL_Keycode -> Int -> SDL_Keycode -> IO ())
-> (forall b. Ptr b -> Int -> IO SDL_Keycode)
-> (forall b. Ptr b -> Int -> SDL_Keycode -> IO ())
-> (Ptr SDL_Keycode -> IO SDL_Keycode)
-> (Ptr SDL_Keycode -> SDL_Keycode -> IO ())
-> Storable SDL_Keycode
forall b. Ptr b -> Int -> IO SDL_Keycode
forall b. Ptr b -> Int -> SDL_Keycode -> IO ()
forall a.
(a -> Int)
-> (a -> Int)
-> (Ptr a -> Int -> IO a)
-> (Ptr a -> Int -> a -> IO ())
-> (forall b. Ptr b -> Int -> IO a)
-> (forall b. Ptr b -> Int -> a -> IO ())
-> (Ptr a -> IO a)
-> (Ptr a -> a -> IO ())
-> Storable a
$csizeOf :: SDL_Keycode -> Int
sizeOf :: SDL_Keycode -> Int
$calignment :: SDL_Keycode -> Int
alignment :: SDL_Keycode -> Int
$cpeekElemOff :: Ptr SDL_Keycode -> Int -> IO SDL_Keycode
peekElemOff :: Ptr SDL_Keycode -> Int -> IO SDL_Keycode
$cpokeElemOff :: Ptr SDL_Keycode -> Int -> SDL_Keycode -> IO ()
pokeElemOff :: Ptr SDL_Keycode -> Int -> SDL_Keycode -> IO ()
$cpeekByteOff :: forall b. Ptr b -> Int -> IO SDL_Keycode
peekByteOff :: forall b. Ptr b -> Int -> IO SDL_Keycode
$cpokeByteOff :: forall b. Ptr b -> Int -> SDL_Keycode -> IO ()
pokeByteOff :: forall b. Ptr b -> Int -> SDL_Keycode -> IO ()
$cpeek :: Ptr SDL_Keycode -> IO SDL_Keycode
peek :: Ptr SDL_Keycode -> IO SDL_Keycode
$cpoke :: Ptr SDL_Keycode -> SDL_Keycode -> IO ()
poke :: Ptr SDL_Keycode -> SDL_Keycode -> IO ()
BG.Storable
, SDL_Keycode
SDL_Keycode -> SDL_Keycode -> Bounded SDL_Keycode
forall a. a -> a -> Bounded a
$cminBound :: SDL_Keycode
minBound :: SDL_Keycode
$cmaxBound :: SDL_Keycode
maxBound :: SDL_Keycode
Bounded
, Int -> SDL_Keycode
SDL_Keycode -> Int
SDL_Keycode -> [SDL_Keycode]
SDL_Keycode -> SDL_Keycode
SDL_Keycode -> SDL_Keycode -> [SDL_Keycode]
SDL_Keycode -> SDL_Keycode -> SDL_Keycode -> [SDL_Keycode]
(SDL_Keycode -> SDL_Keycode)
-> (SDL_Keycode -> SDL_Keycode)
-> (Int -> SDL_Keycode)
-> (SDL_Keycode -> Int)
-> (SDL_Keycode -> [SDL_Keycode])
-> (SDL_Keycode -> SDL_Keycode -> [SDL_Keycode])
-> (SDL_Keycode -> SDL_Keycode -> [SDL_Keycode])
-> (SDL_Keycode -> SDL_Keycode -> SDL_Keycode -> [SDL_Keycode])
-> Enum SDL_Keycode
forall a.
(a -> a)
-> (a -> a)
-> (Int -> a)
-> (a -> Int)
-> (a -> [a])
-> (a -> a -> [a])
-> (a -> a -> [a])
-> (a -> a -> a -> [a])
-> Enum a
$csucc :: SDL_Keycode -> SDL_Keycode
succ :: SDL_Keycode -> SDL_Keycode
$cpred :: SDL_Keycode -> SDL_Keycode
pred :: SDL_Keycode -> SDL_Keycode
$ctoEnum :: Int -> SDL_Keycode
toEnum :: Int -> SDL_Keycode
$cfromEnum :: SDL_Keycode -> Int
fromEnum :: SDL_Keycode -> Int
$cenumFrom :: SDL_Keycode -> [SDL_Keycode]
enumFrom :: SDL_Keycode -> [SDL_Keycode]
$cenumFromThen :: SDL_Keycode -> SDL_Keycode -> [SDL_Keycode]
enumFromThen :: SDL_Keycode -> SDL_Keycode -> [SDL_Keycode]
$cenumFromTo :: SDL_Keycode -> SDL_Keycode -> [SDL_Keycode]
enumFromTo :: SDL_Keycode -> SDL_Keycode -> [SDL_Keycode]
$cenumFromThenTo :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode -> [SDL_Keycode]
enumFromThenTo :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode -> [SDL_Keycode]
Enum
, Enum SDL_Keycode
Real SDL_Keycode
(Real SDL_Keycode, Enum SDL_Keycode) =>
(SDL_Keycode -> SDL_Keycode -> SDL_Keycode)
-> (SDL_Keycode -> SDL_Keycode -> SDL_Keycode)
-> (SDL_Keycode -> SDL_Keycode -> SDL_Keycode)
-> (SDL_Keycode -> SDL_Keycode -> SDL_Keycode)
-> (SDL_Keycode -> SDL_Keycode -> (SDL_Keycode, SDL_Keycode))
-> (SDL_Keycode -> SDL_Keycode -> (SDL_Keycode, SDL_Keycode))
-> (SDL_Keycode -> Integer)
-> Integral SDL_Keycode
SDL_Keycode -> Integer
SDL_Keycode -> SDL_Keycode -> (SDL_Keycode, SDL_Keycode)
SDL_Keycode -> SDL_Keycode -> SDL_Keycode
forall a.
(Real a, Enum a) =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> (a, a))
-> (a -> a -> (a, a))
-> (a -> Integer)
-> Integral a
$cquot :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
quot :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
$crem :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
rem :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
$cdiv :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
div :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
$cmod :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
mod :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
$cquotRem :: SDL_Keycode -> SDL_Keycode -> (SDL_Keycode, SDL_Keycode)
quotRem :: SDL_Keycode -> SDL_Keycode -> (SDL_Keycode, SDL_Keycode)
$cdivMod :: SDL_Keycode -> SDL_Keycode -> (SDL_Keycode, SDL_Keycode)
divMod :: SDL_Keycode -> SDL_Keycode -> (SDL_Keycode, SDL_Keycode)
$ctoInteger :: SDL_Keycode -> Integer
toInteger :: SDL_Keycode -> Integer
Integral
, Ptr SDL_Keycode -> IO SDL_Keycode
(Ptr SDL_Keycode -> IO SDL_Keycode) -> ReadRaw SDL_Keycode
forall a. (Ptr a -> IO a) -> ReadRaw a
$creadRaw :: Ptr SDL_Keycode -> IO SDL_Keycode
readRaw :: Ptr SDL_Keycode -> IO SDL_Keycode
Marshal.ReadRaw
, Proxy SDL_Keycode -> Int
(Proxy SDL_Keycode -> Int)
-> (Proxy SDL_Keycode -> Int) -> StaticSize SDL_Keycode
forall a. (Proxy a -> Int) -> (Proxy a -> Int) -> StaticSize a
$cstaticSizeOf :: Proxy SDL_Keycode -> Int
staticSizeOf :: Proxy SDL_Keycode -> Int
$cstaticAlignment :: Proxy SDL_Keycode -> Int
staticAlignment :: Proxy SDL_Keycode -> Int
Marshal.StaticSize
, Ptr SDL_Keycode -> SDL_Keycode -> IO ()
(Ptr SDL_Keycode -> SDL_Keycode -> IO ()) -> WriteRaw SDL_Keycode
forall a. (Ptr a -> a -> IO ()) -> WriteRaw a
$cwriteRaw :: Ptr SDL_Keycode -> SDL_Keycode -> IO ()
writeRaw :: Ptr SDL_Keycode -> SDL_Keycode -> IO ()
Marshal.WriteRaw
, Integer -> SDL_Keycode
SDL_Keycode -> SDL_Keycode
SDL_Keycode -> SDL_Keycode -> SDL_Keycode
(SDL_Keycode -> SDL_Keycode -> SDL_Keycode)
-> (SDL_Keycode -> SDL_Keycode -> SDL_Keycode)
-> (SDL_Keycode -> SDL_Keycode -> SDL_Keycode)
-> (SDL_Keycode -> SDL_Keycode)
-> (SDL_Keycode -> SDL_Keycode)
-> (SDL_Keycode -> SDL_Keycode)
-> (Integer -> SDL_Keycode)
-> Num SDL_Keycode
forall a.
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (Integer -> a)
-> Num a
$c+ :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
+ :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
$c- :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
- :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
$c* :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
* :: SDL_Keycode -> SDL_Keycode -> SDL_Keycode
$cnegate :: SDL_Keycode -> SDL_Keycode
negate :: SDL_Keycode -> SDL_Keycode
$cabs :: SDL_Keycode -> SDL_Keycode
abs :: SDL_Keycode -> SDL_Keycode
$csignum :: SDL_Keycode -> SDL_Keycode
signum :: SDL_Keycode -> SDL_Keycode
$cfromInteger :: Integer -> SDL_Keycode
fromInteger :: Integer -> SDL_Keycode
Num
, Num SDL_Keycode
Ord SDL_Keycode
(Num SDL_Keycode, Ord SDL_Keycode) =>
(SDL_Keycode -> Rational) -> Real SDL_Keycode
SDL_Keycode -> Rational
forall a. (Num a, Ord a) => (a -> Rational) -> Real a
$ctoRational :: SDL_Keycode -> Rational
toRational :: SDL_Keycode -> Rational
Real
)
instance
(ty ~ SDL3.Sys.Bindgen.Stdinc.Uint32)
=> BG.CompatHasField.HasField "unwrap" SDL_Keycode ty
where
hasField :: SDL_Keycode -> (ty -> SDL_Keycode, ty)
hasField =
\SDL_Keycode
x0 ->
( \ty
y1 ->
SDL_Keycode{unwrap :: Uint32
unwrap = ty
Uint32
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_Keycode
x0
)
instance
(ty ~ SDL3.Sys.Bindgen.Stdinc.Uint32)
=> BG.HasField "unwrap" (BG.Ptr SDL_Keycode) (BG.Ptr ty)
where
getField :: Ptr SDL_Keycode -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_Keycode -> Ptr (CFieldType SDL_Keycode "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_Keycode "unwrap" where
type
CFieldType SDL_Keycode "unwrap" =
SDL3.Sys.Bindgen.Stdinc.Uint32
offset# :: Proxy# SDL_Keycode -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_Keycode
_ -> \Proxy# "unwrap"
_ -> Int
0
sDLK_EXTENDED_MASK :: BG.CUInt
sDLK_EXTENDED_MASK :: CUInt
sDLK_EXTENDED_MASK =
CUInt -> CInt -> ShiftRes CUInt
forall a i. Shift a i => a -> i -> ShiftRes a
(C.Expr.HostPlatform.<<) (CUInt
1 :: BG.CUInt) (CInt
29 :: BG.CInt)
sDLK_SCANCODE_MASK :: BG.CUInt
sDLK_SCANCODE_MASK :: CUInt
sDLK_SCANCODE_MASK =
CUInt -> CInt -> ShiftRes CUInt
forall a i. Shift a i => a -> i -> ShiftRes a
(C.Expr.HostPlatform.<<) (CUInt
1 :: BG.CUInt) (CInt
30 :: BG.CInt)
sDL_SCANCODE_TO_KEYCODE
:: forall a0. (C.Expr.HostPlatform.Bitwise a0 BG.CUInt) => a0 -> C.Expr.HostPlatform.BitsRes a0 BG.CUInt
sDL_SCANCODE_TO_KEYCODE :: forall a0. Bitwise a0 CUInt => a0 -> BitsRes a0 CUInt
sDL_SCANCODE_TO_KEYCODE =
\a0
x0 ->
a0 -> CUInt -> BitsRes a0 CUInt
forall a b. Bitwise a b => a -> b -> BitsRes a b
(C.Expr.HostPlatform..|.) a0
x0 CUInt
sDLK_SCANCODE_MASK
sDLK_UNKNOWN :: BG.CUInt
sDLK_UNKNOWN :: CUInt
sDLK_UNKNOWN = (CUInt
0 :: BG.CUInt)
sDLK_RETURN :: BG.CUInt
sDLK_RETURN :: CUInt
sDLK_RETURN = (CUInt
13 :: BG.CUInt)
sDLK_ESCAPE :: BG.CUInt
sDLK_ESCAPE :: CUInt
sDLK_ESCAPE = (CUInt
27 :: BG.CUInt)
sDLK_BACKSPACE :: BG.CUInt
sDLK_BACKSPACE :: CUInt
sDLK_BACKSPACE = (CUInt
8 :: BG.CUInt)
sDLK_TAB :: BG.CUInt
sDLK_TAB :: CUInt
sDLK_TAB = (CUInt
9 :: BG.CUInt)
sDLK_SPACE :: BG.CUInt
sDLK_SPACE :: CUInt
sDLK_SPACE = (CUInt
32 :: BG.CUInt)
sDLK_EXCLAIM :: BG.CUInt
sDLK_EXCLAIM :: CUInt
sDLK_EXCLAIM = (CUInt
33 :: BG.CUInt)
sDLK_DBLAPOSTROPHE :: BG.CUInt
sDLK_DBLAPOSTROPHE :: CUInt
sDLK_DBLAPOSTROPHE = (CUInt
34 :: BG.CUInt)
sDLK_HASH :: BG.CUInt
sDLK_HASH :: CUInt
sDLK_HASH = (CUInt
35 :: BG.CUInt)
sDLK_DOLLAR :: BG.CUInt
sDLK_DOLLAR :: CUInt
sDLK_DOLLAR = (CUInt
36 :: BG.CUInt)
sDLK_PERCENT :: BG.CUInt
sDLK_PERCENT :: CUInt
sDLK_PERCENT = (CUInt
37 :: BG.CUInt)
sDLK_AMPERSAND :: BG.CUInt
sDLK_AMPERSAND :: CUInt
sDLK_AMPERSAND = (CUInt
38 :: BG.CUInt)
sDLK_APOSTROPHE :: BG.CUInt
sDLK_APOSTROPHE :: CUInt
sDLK_APOSTROPHE = (CUInt
39 :: BG.CUInt)
sDLK_LEFTPAREN :: BG.CUInt
sDLK_LEFTPAREN :: CUInt
sDLK_LEFTPAREN = (CUInt
40 :: BG.CUInt)
sDLK_RIGHTPAREN :: BG.CUInt
sDLK_RIGHTPAREN :: CUInt
sDLK_RIGHTPAREN = (CUInt
41 :: BG.CUInt)
sDLK_ASTERISK :: BG.CUInt
sDLK_ASTERISK :: CUInt
sDLK_ASTERISK = (CUInt
42 :: BG.CUInt)
sDLK_PLUS :: BG.CUInt
sDLK_PLUS :: CUInt
sDLK_PLUS = (CUInt
43 :: BG.CUInt)
sDLK_COMMA :: BG.CUInt
sDLK_COMMA :: CUInt
sDLK_COMMA = (CUInt
44 :: BG.CUInt)
sDLK_MINUS :: BG.CUInt
sDLK_MINUS :: CUInt
sDLK_MINUS = (CUInt
45 :: BG.CUInt)
sDLK_PERIOD :: BG.CUInt
sDLK_PERIOD :: CUInt
sDLK_PERIOD = (CUInt
46 :: BG.CUInt)
sDLK_SLASH :: BG.CUInt
sDLK_SLASH :: CUInt
sDLK_SLASH = (CUInt
47 :: BG.CUInt)
sDLK_0 :: BG.CUInt
sDLK_0 :: CUInt
sDLK_0 = (CUInt
48 :: BG.CUInt)
sDLK_1 :: BG.CUInt
sDLK_1 :: CUInt
sDLK_1 = (CUInt
49 :: BG.CUInt)
sDLK_2 :: BG.CUInt
sDLK_2 :: CUInt
sDLK_2 = (CUInt
50 :: BG.CUInt)
sDLK_3 :: BG.CUInt
sDLK_3 :: CUInt
sDLK_3 = (CUInt
51 :: BG.CUInt)
sDLK_4 :: BG.CUInt
sDLK_4 :: CUInt
sDLK_4 = (CUInt
52 :: BG.CUInt)
sDLK_5 :: BG.CUInt
sDLK_5 :: CUInt
sDLK_5 = (CUInt
53 :: BG.CUInt)
sDLK_6 :: BG.CUInt
sDLK_6 :: CUInt
sDLK_6 = (CUInt
54 :: BG.CUInt)
sDLK_7 :: BG.CUInt
sDLK_7 :: CUInt
sDLK_7 = (CUInt
55 :: BG.CUInt)
sDLK_8 :: BG.CUInt
sDLK_8 :: CUInt
sDLK_8 = (CUInt
56 :: BG.CUInt)
sDLK_9 :: BG.CUInt
sDLK_9 :: CUInt
sDLK_9 = (CUInt
57 :: BG.CUInt)
sDLK_COLON :: BG.CUInt
sDLK_COLON :: CUInt
sDLK_COLON = (CUInt
58 :: BG.CUInt)
sDLK_SEMICOLON :: BG.CUInt
sDLK_SEMICOLON :: CUInt
sDLK_SEMICOLON = (CUInt
59 :: BG.CUInt)
sDLK_LESS :: BG.CUInt
sDLK_LESS :: CUInt
sDLK_LESS = (CUInt
60 :: BG.CUInt)
sDLK_EQUALS :: BG.CUInt
sDLK_EQUALS :: CUInt
sDLK_EQUALS = (CUInt
61 :: BG.CUInt)
sDLK_GREATER :: BG.CUInt
sDLK_GREATER :: CUInt
sDLK_GREATER = (CUInt
62 :: BG.CUInt)
sDLK_QUESTION :: BG.CUInt
sDLK_QUESTION :: CUInt
sDLK_QUESTION = (CUInt
63 :: BG.CUInt)
sDLK_AT :: BG.CUInt
sDLK_AT :: CUInt
sDLK_AT = (CUInt
64 :: BG.CUInt)
sDLK_LEFTBRACKET :: BG.CUInt
sDLK_LEFTBRACKET :: CUInt
sDLK_LEFTBRACKET = (CUInt
91 :: BG.CUInt)
sDLK_BACKSLASH :: BG.CUInt
sDLK_BACKSLASH :: CUInt
sDLK_BACKSLASH = (CUInt
92 :: BG.CUInt)
sDLK_RIGHTBRACKET :: BG.CUInt
sDLK_RIGHTBRACKET :: CUInt
sDLK_RIGHTBRACKET = (CUInt
93 :: BG.CUInt)
sDLK_CARET :: BG.CUInt
sDLK_CARET :: CUInt
sDLK_CARET = (CUInt
94 :: BG.CUInt)
sDLK_UNDERSCORE :: BG.CUInt
sDLK_UNDERSCORE :: CUInt
sDLK_UNDERSCORE = (CUInt
95 :: BG.CUInt)
sDLK_GRAVE :: BG.CUInt
sDLK_GRAVE :: CUInt
sDLK_GRAVE = (CUInt
96 :: BG.CUInt)
sDLK_A :: BG.CUInt
sDLK_A :: CUInt
sDLK_A = (CUInt
97 :: BG.CUInt)
sDLK_B :: BG.CUInt
sDLK_B :: CUInt
sDLK_B = (CUInt
98 :: BG.CUInt)
sDLK_C :: BG.CUInt
sDLK_C :: CUInt
sDLK_C = (CUInt
99 :: BG.CUInt)
sDLK_D :: BG.CUInt
sDLK_D :: CUInt
sDLK_D = (CUInt
100 :: BG.CUInt)
sDLK_E :: BG.CUInt
sDLK_E :: CUInt
sDLK_E = (CUInt
101 :: BG.CUInt)
sDLK_F :: BG.CUInt
sDLK_F :: CUInt
sDLK_F = (CUInt
102 :: BG.CUInt)
sDLK_G :: BG.CUInt
sDLK_G :: CUInt
sDLK_G = (CUInt
103 :: BG.CUInt)
sDLK_H :: BG.CUInt
sDLK_H :: CUInt
sDLK_H = (CUInt
104 :: BG.CUInt)
sDLK_I :: BG.CUInt
sDLK_I :: CUInt
sDLK_I = (CUInt
105 :: BG.CUInt)
sDLK_J :: BG.CUInt
sDLK_J :: CUInt
sDLK_J = (CUInt
106 :: BG.CUInt)
sDLK_K :: BG.CUInt
sDLK_K :: CUInt
sDLK_K = (CUInt
107 :: BG.CUInt)
sDLK_L :: BG.CUInt
sDLK_L :: CUInt
sDLK_L = (CUInt
108 :: BG.CUInt)
sDLK_M :: BG.CUInt
sDLK_M :: CUInt
sDLK_M = (CUInt
109 :: BG.CUInt)
sDLK_N :: BG.CUInt
sDLK_N :: CUInt
sDLK_N = (CUInt
110 :: BG.CUInt)
sDLK_O :: BG.CUInt
sDLK_O :: CUInt
sDLK_O = (CUInt
111 :: BG.CUInt)
sDLK_P :: BG.CUInt
sDLK_P :: CUInt
sDLK_P = (CUInt
112 :: BG.CUInt)
sDLK_Q :: BG.CUInt
sDLK_Q :: CUInt
sDLK_Q = (CUInt
113 :: BG.CUInt)
sDLK_R :: BG.CUInt
sDLK_R :: CUInt
sDLK_R = (CUInt
114 :: BG.CUInt)
sDLK_S :: BG.CUInt
sDLK_S :: CUInt
sDLK_S = (CUInt
115 :: BG.CUInt)
sDLK_T :: BG.CUInt
sDLK_T :: CUInt
sDLK_T = (CUInt
116 :: BG.CUInt)
sDLK_U :: BG.CUInt
sDLK_U :: CUInt
sDLK_U = (CUInt
117 :: BG.CUInt)
sDLK_V :: BG.CUInt
sDLK_V :: CUInt
sDLK_V = (CUInt
118 :: BG.CUInt)
sDLK_W :: BG.CUInt
sDLK_W :: CUInt
sDLK_W = (CUInt
119 :: BG.CUInt)
sDLK_X :: BG.CUInt
sDLK_X :: CUInt
sDLK_X = (CUInt
120 :: BG.CUInt)
sDLK_Y :: BG.CUInt
sDLK_Y :: CUInt
sDLK_Y = (CUInt
121 :: BG.CUInt)
sDLK_Z :: BG.CUInt
sDLK_Z :: CUInt
sDLK_Z = (CUInt
122 :: BG.CUInt)
sDLK_LEFTBRACE :: BG.CUInt
sDLK_LEFTBRACE :: CUInt
sDLK_LEFTBRACE = (CUInt
123 :: BG.CUInt)
sDLK_PIPE :: BG.CUInt
sDLK_PIPE :: CUInt
sDLK_PIPE = (CUInt
124 :: BG.CUInt)
sDLK_RIGHTBRACE :: BG.CUInt
sDLK_RIGHTBRACE :: CUInt
sDLK_RIGHTBRACE = (CUInt
125 :: BG.CUInt)
sDLK_TILDE :: BG.CUInt
sDLK_TILDE :: CUInt
sDLK_TILDE = (CUInt
126 :: BG.CUInt)
sDLK_DELETE :: BG.CUInt
sDLK_DELETE :: CUInt
sDLK_DELETE = (CUInt
127 :: BG.CUInt)
sDLK_PLUSMINUS :: BG.CUInt
sDLK_PLUSMINUS :: CUInt
sDLK_PLUSMINUS = (CUInt
177 :: BG.CUInt)
sDLK_CAPSLOCK :: BG.CUInt
sDLK_CAPSLOCK :: CUInt
sDLK_CAPSLOCK = (CUInt
1073741881 :: BG.CUInt)
sDLK_F1 :: BG.CUInt
sDLK_F1 :: CUInt
sDLK_F1 = (CUInt
1073741882 :: BG.CUInt)
sDLK_F2 :: BG.CUInt
sDLK_F2 :: CUInt
sDLK_F2 = (CUInt
1073741883 :: BG.CUInt)
sDLK_F3 :: BG.CUInt
sDLK_F3 :: CUInt
sDLK_F3 = (CUInt
1073741884 :: BG.CUInt)
sDLK_F4 :: BG.CUInt
sDLK_F4 :: CUInt
sDLK_F4 = (CUInt
1073741885 :: BG.CUInt)
sDLK_F5 :: BG.CUInt
sDLK_F5 :: CUInt
sDLK_F5 = (CUInt
1073741886 :: BG.CUInt)
sDLK_F6 :: BG.CUInt
sDLK_F6 :: CUInt
sDLK_F6 = (CUInt
1073741887 :: BG.CUInt)
sDLK_F7 :: BG.CUInt
sDLK_F7 :: CUInt
sDLK_F7 = (CUInt
1073741888 :: BG.CUInt)
sDLK_F8 :: BG.CUInt
sDLK_F8 :: CUInt
sDLK_F8 = (CUInt
1073741889 :: BG.CUInt)
sDLK_F9 :: BG.CUInt
sDLK_F9 :: CUInt
sDLK_F9 = (CUInt
1073741890 :: BG.CUInt)
sDLK_F10 :: BG.CUInt
sDLK_F10 :: CUInt
sDLK_F10 = (CUInt
1073741891 :: BG.CUInt)
sDLK_F11 :: BG.CUInt
sDLK_F11 :: CUInt
sDLK_F11 = (CUInt
1073741892 :: BG.CUInt)
sDLK_F12 :: BG.CUInt
sDLK_F12 :: CUInt
sDLK_F12 = (CUInt
1073741893 :: BG.CUInt)
sDLK_PRINTSCREEN :: BG.CUInt
sDLK_PRINTSCREEN :: CUInt
sDLK_PRINTSCREEN = (CUInt
1073741894 :: BG.CUInt)
sDLK_SCROLLLOCK :: BG.CUInt
sDLK_SCROLLLOCK :: CUInt
sDLK_SCROLLLOCK = (CUInt
1073741895 :: BG.CUInt)
sDLK_PAUSE :: BG.CUInt
sDLK_PAUSE :: CUInt
sDLK_PAUSE = (CUInt
1073741896 :: BG.CUInt)
sDLK_INSERT :: BG.CUInt
sDLK_INSERT :: CUInt
sDLK_INSERT = (CUInt
1073741897 :: BG.CUInt)
sDLK_HOME :: BG.CUInt
sDLK_HOME :: CUInt
sDLK_HOME = (CUInt
1073741898 :: BG.CUInt)
sDLK_PAGEUP :: BG.CUInt
sDLK_PAGEUP :: CUInt
sDLK_PAGEUP = (CUInt
1073741899 :: BG.CUInt)
sDLK_END :: BG.CUInt
sDLK_END :: CUInt
sDLK_END = (CUInt
1073741901 :: BG.CUInt)
sDLK_PAGEDOWN :: BG.CUInt
sDLK_PAGEDOWN :: CUInt
sDLK_PAGEDOWN = (CUInt
1073741902 :: BG.CUInt)
sDLK_RIGHT :: BG.CUInt
sDLK_RIGHT :: CUInt
sDLK_RIGHT = (CUInt
1073741903 :: BG.CUInt)
sDLK_LEFT :: BG.CUInt
sDLK_LEFT :: CUInt
sDLK_LEFT = (CUInt
1073741904 :: BG.CUInt)
sDLK_DOWN :: BG.CUInt
sDLK_DOWN :: CUInt
sDLK_DOWN = (CUInt
1073741905 :: BG.CUInt)
sDLK_UP :: BG.CUInt
sDLK_UP :: CUInt
sDLK_UP = (CUInt
1073741906 :: BG.CUInt)
sDLK_NUMLOCKCLEAR :: BG.CUInt
sDLK_NUMLOCKCLEAR :: CUInt
sDLK_NUMLOCKCLEAR = (CUInt
1073741907 :: BG.CUInt)
sDLK_KP_DIVIDE :: BG.CUInt
sDLK_KP_DIVIDE :: CUInt
sDLK_KP_DIVIDE = (CUInt
1073741908 :: BG.CUInt)
sDLK_KP_MULTIPLY :: BG.CUInt
sDLK_KP_MULTIPLY :: CUInt
sDLK_KP_MULTIPLY = (CUInt
1073741909 :: BG.CUInt)
sDLK_KP_MINUS :: BG.CUInt
sDLK_KP_MINUS :: CUInt
sDLK_KP_MINUS = (CUInt
1073741910 :: BG.CUInt)
sDLK_KP_PLUS :: BG.CUInt
sDLK_KP_PLUS :: CUInt
sDLK_KP_PLUS = (CUInt
1073741911 :: BG.CUInt)
sDLK_KP_ENTER :: BG.CUInt
sDLK_KP_ENTER :: CUInt
sDLK_KP_ENTER = (CUInt
1073741912 :: BG.CUInt)
sDLK_KP_1 :: BG.CUInt
sDLK_KP_1 :: CUInt
sDLK_KP_1 = (CUInt
1073741913 :: BG.CUInt)
sDLK_KP_2 :: BG.CUInt
sDLK_KP_2 :: CUInt
sDLK_KP_2 = (CUInt
1073741914 :: BG.CUInt)
sDLK_KP_3 :: BG.CUInt
sDLK_KP_3 :: CUInt
sDLK_KP_3 = (CUInt
1073741915 :: BG.CUInt)
sDLK_KP_4 :: BG.CUInt
sDLK_KP_4 :: CUInt
sDLK_KP_4 = (CUInt
1073741916 :: BG.CUInt)
sDLK_KP_5 :: BG.CUInt
sDLK_KP_5 :: CUInt
sDLK_KP_5 = (CUInt
1073741917 :: BG.CUInt)
sDLK_KP_6 :: BG.CUInt
sDLK_KP_6 :: CUInt
sDLK_KP_6 = (CUInt
1073741918 :: BG.CUInt)
sDLK_KP_7 :: BG.CUInt
sDLK_KP_7 :: CUInt
sDLK_KP_7 = (CUInt
1073741919 :: BG.CUInt)
sDLK_KP_8 :: BG.CUInt
sDLK_KP_8 :: CUInt
sDLK_KP_8 = (CUInt
1073741920 :: BG.CUInt)
sDLK_KP_9 :: BG.CUInt
sDLK_KP_9 :: CUInt
sDLK_KP_9 = (CUInt
1073741921 :: BG.CUInt)
sDLK_KP_0 :: BG.CUInt
sDLK_KP_0 :: CUInt
sDLK_KP_0 = (CUInt
1073741922 :: BG.CUInt)
sDLK_KP_PERIOD :: BG.CUInt
sDLK_KP_PERIOD :: CUInt
sDLK_KP_PERIOD = (CUInt
1073741923 :: BG.CUInt)
sDLK_APPLICATION :: BG.CUInt
sDLK_APPLICATION :: CUInt
sDLK_APPLICATION = (CUInt
1073741925 :: BG.CUInt)
sDLK_POWER :: BG.CUInt
sDLK_POWER :: CUInt
sDLK_POWER = (CUInt
1073741926 :: BG.CUInt)
sDLK_KP_EQUALS :: BG.CUInt
sDLK_KP_EQUALS :: CUInt
sDLK_KP_EQUALS = (CUInt
1073741927 :: BG.CUInt)
sDLK_F13 :: BG.CUInt
sDLK_F13 :: CUInt
sDLK_F13 = (CUInt
1073741928 :: BG.CUInt)
sDLK_F14 :: BG.CUInt
sDLK_F14 :: CUInt
sDLK_F14 = (CUInt
1073741929 :: BG.CUInt)
sDLK_F15 :: BG.CUInt
sDLK_F15 :: CUInt
sDLK_F15 = (CUInt
1073741930 :: BG.CUInt)
sDLK_F16 :: BG.CUInt
sDLK_F16 :: CUInt
sDLK_F16 = (CUInt
1073741931 :: BG.CUInt)
sDLK_F17 :: BG.CUInt
sDLK_F17 :: CUInt
sDLK_F17 = (CUInt
1073741932 :: BG.CUInt)
sDLK_F18 :: BG.CUInt
sDLK_F18 :: CUInt
sDLK_F18 = (CUInt
1073741933 :: BG.CUInt)
sDLK_F19 :: BG.CUInt
sDLK_F19 :: CUInt
sDLK_F19 = (CUInt
1073741934 :: BG.CUInt)
sDLK_F20 :: BG.CUInt
sDLK_F20 :: CUInt
sDLK_F20 = (CUInt
1073741935 :: BG.CUInt)
sDLK_F21 :: BG.CUInt
sDLK_F21 :: CUInt
sDLK_F21 = (CUInt
1073741936 :: BG.CUInt)
sDLK_F22 :: BG.CUInt
sDLK_F22 :: CUInt
sDLK_F22 = (CUInt
1073741937 :: BG.CUInt)
sDLK_F23 :: BG.CUInt
sDLK_F23 :: CUInt
sDLK_F23 = (CUInt
1073741938 :: BG.CUInt)
sDLK_F24 :: BG.CUInt
sDLK_F24 :: CUInt
sDLK_F24 = (CUInt
1073741939 :: BG.CUInt)
sDLK_EXECUTE :: BG.CUInt
sDLK_EXECUTE :: CUInt
sDLK_EXECUTE = (CUInt
1073741940 :: BG.CUInt)
sDLK_HELP :: BG.CUInt
sDLK_HELP :: CUInt
sDLK_HELP = (CUInt
1073741941 :: BG.CUInt)
sDLK_MENU :: BG.CUInt
= (CUInt
1073741942 :: BG.CUInt)
sDLK_SELECT :: BG.CUInt
sDLK_SELECT :: CUInt
sDLK_SELECT = (CUInt
1073741943 :: BG.CUInt)
sDLK_STOP :: BG.CUInt
sDLK_STOP :: CUInt
sDLK_STOP = (CUInt
1073741944 :: BG.CUInt)
sDLK_AGAIN :: BG.CUInt
sDLK_AGAIN :: CUInt
sDLK_AGAIN = (CUInt
1073741945 :: BG.CUInt)
sDLK_UNDO :: BG.CUInt
sDLK_UNDO :: CUInt
sDLK_UNDO = (CUInt
1073741946 :: BG.CUInt)
sDLK_CUT :: BG.CUInt
sDLK_CUT :: CUInt
sDLK_CUT = (CUInt
1073741947 :: BG.CUInt)
sDLK_COPY :: BG.CUInt
sDLK_COPY :: CUInt
sDLK_COPY = (CUInt
1073741948 :: BG.CUInt)
sDLK_PASTE :: BG.CUInt
sDLK_PASTE :: CUInt
sDLK_PASTE = (CUInt
1073741949 :: BG.CUInt)
sDLK_FIND :: BG.CUInt
sDLK_FIND :: CUInt
sDLK_FIND = (CUInt
1073741950 :: BG.CUInt)
sDLK_MUTE :: BG.CUInt
sDLK_MUTE :: CUInt
sDLK_MUTE = (CUInt
1073741951 :: BG.CUInt)
sDLK_VOLUMEUP :: BG.CUInt
sDLK_VOLUMEUP :: CUInt
sDLK_VOLUMEUP = (CUInt
1073741952 :: BG.CUInt)
sDLK_VOLUMEDOWN :: BG.CUInt
sDLK_VOLUMEDOWN :: CUInt
sDLK_VOLUMEDOWN = (CUInt
1073741953 :: BG.CUInt)
sDLK_KP_COMMA :: BG.CUInt
sDLK_KP_COMMA :: CUInt
sDLK_KP_COMMA = (CUInt
1073741957 :: BG.CUInt)
sDLK_KP_EQUALSAS400 :: BG.CUInt
sDLK_KP_EQUALSAS400 :: CUInt
sDLK_KP_EQUALSAS400 = (CUInt
1073741958 :: BG.CUInt)
sDLK_ALTERASE :: BG.CUInt
sDLK_ALTERASE :: CUInt
sDLK_ALTERASE = (CUInt
1073741977 :: BG.CUInt)
sDLK_SYSREQ :: BG.CUInt
sDLK_SYSREQ :: CUInt
sDLK_SYSREQ = (CUInt
1073741978 :: BG.CUInt)
sDLK_CANCEL :: BG.CUInt
sDLK_CANCEL :: CUInt
sDLK_CANCEL = (CUInt
1073741979 :: BG.CUInt)
sDLK_CLEAR :: BG.CUInt
sDLK_CLEAR :: CUInt
sDLK_CLEAR = (CUInt
1073741980 :: BG.CUInt)
sDLK_PRIOR :: BG.CUInt
sDLK_PRIOR :: CUInt
sDLK_PRIOR = (CUInt
1073741981 :: BG.CUInt)
sDLK_RETURN2 :: BG.CUInt
sDLK_RETURN2 :: CUInt
sDLK_RETURN2 = (CUInt
1073741982 :: BG.CUInt)
sDLK_SEPARATOR :: BG.CUInt
sDLK_SEPARATOR :: CUInt
sDLK_SEPARATOR = (CUInt
1073741983 :: BG.CUInt)
sDLK_OUT :: BG.CUInt
sDLK_OUT :: CUInt
sDLK_OUT = (CUInt
1073741984 :: BG.CUInt)
sDLK_OPER :: BG.CUInt
sDLK_OPER :: CUInt
sDLK_OPER = (CUInt
1073741985 :: BG.CUInt)
sDLK_CLEARAGAIN :: BG.CUInt
sDLK_CLEARAGAIN :: CUInt
sDLK_CLEARAGAIN = (CUInt
1073741986 :: BG.CUInt)
sDLK_CRSEL :: BG.CUInt
sDLK_CRSEL :: CUInt
sDLK_CRSEL = (CUInt
1073741987 :: BG.CUInt)
sDLK_EXSEL :: BG.CUInt
sDLK_EXSEL :: CUInt
sDLK_EXSEL = (CUInt
1073741988 :: BG.CUInt)
sDLK_FRONT :: BG.CUInt
sDLK_FRONT :: CUInt
sDLK_FRONT = (CUInt
1073741989 :: BG.CUInt)
sDLK_KP_00 :: BG.CUInt
sDLK_KP_00 :: CUInt
sDLK_KP_00 = (CUInt
1073742000 :: BG.CUInt)
sDLK_KP_000 :: BG.CUInt
sDLK_KP_000 :: CUInt
sDLK_KP_000 = (CUInt
1073742001 :: BG.CUInt)
sDLK_THOUSANDSSEPARATOR :: BG.CUInt
sDLK_THOUSANDSSEPARATOR :: CUInt
sDLK_THOUSANDSSEPARATOR = (CUInt
1073742002 :: BG.CUInt)
sDLK_DECIMALSEPARATOR :: BG.CUInt
sDLK_DECIMALSEPARATOR :: CUInt
sDLK_DECIMALSEPARATOR = (CUInt
1073742003 :: BG.CUInt)
sDLK_CURRENCYUNIT :: BG.CUInt
sDLK_CURRENCYUNIT :: CUInt
sDLK_CURRENCYUNIT = (CUInt
1073742004 :: BG.CUInt)
sDLK_CURRENCYSUBUNIT :: BG.CUInt
sDLK_CURRENCYSUBUNIT :: CUInt
sDLK_CURRENCYSUBUNIT = (CUInt
1073742005 :: BG.CUInt)
sDLK_KP_LEFTPAREN :: BG.CUInt
sDLK_KP_LEFTPAREN :: CUInt
sDLK_KP_LEFTPAREN = (CUInt
1073742006 :: BG.CUInt)
sDLK_KP_RIGHTPAREN :: BG.CUInt
sDLK_KP_RIGHTPAREN :: CUInt
sDLK_KP_RIGHTPAREN = (CUInt
1073742007 :: BG.CUInt)
sDLK_KP_LEFTBRACE :: BG.CUInt
sDLK_KP_LEFTBRACE :: CUInt
sDLK_KP_LEFTBRACE = (CUInt
1073742008 :: BG.CUInt)
sDLK_KP_RIGHTBRACE :: BG.CUInt
sDLK_KP_RIGHTBRACE :: CUInt
sDLK_KP_RIGHTBRACE = (CUInt
1073742009 :: BG.CUInt)
sDLK_KP_TAB :: BG.CUInt
sDLK_KP_TAB :: CUInt
sDLK_KP_TAB = (CUInt
1073742010 :: BG.CUInt)
sDLK_KP_BACKSPACE :: BG.CUInt
sDLK_KP_BACKSPACE :: CUInt
sDLK_KP_BACKSPACE = (CUInt
1073742011 :: BG.CUInt)
sDLK_KP_A :: BG.CUInt
sDLK_KP_A :: CUInt
sDLK_KP_A = (CUInt
1073742012 :: BG.CUInt)
sDLK_KP_B :: BG.CUInt
sDLK_KP_B :: CUInt
sDLK_KP_B = (CUInt
1073742013 :: BG.CUInt)
sDLK_KP_C :: BG.CUInt
sDLK_KP_C :: CUInt
sDLK_KP_C = (CUInt
1073742014 :: BG.CUInt)
sDLK_KP_D :: BG.CUInt
sDLK_KP_D :: CUInt
sDLK_KP_D = (CUInt
1073742015 :: BG.CUInt)
sDLK_KP_E :: BG.CUInt
sDLK_KP_E :: CUInt
sDLK_KP_E = (CUInt
1073742016 :: BG.CUInt)
sDLK_KP_F :: BG.CUInt
sDLK_KP_F :: CUInt
sDLK_KP_F = (CUInt
1073742017 :: BG.CUInt)
sDLK_KP_XOR :: BG.CUInt
sDLK_KP_XOR :: CUInt
sDLK_KP_XOR = (CUInt
1073742018 :: BG.CUInt)
sDLK_KP_POWER :: BG.CUInt
sDLK_KP_POWER :: CUInt
sDLK_KP_POWER = (CUInt
1073742019 :: BG.CUInt)
sDLK_KP_PERCENT :: BG.CUInt
sDLK_KP_PERCENT :: CUInt
sDLK_KP_PERCENT = (CUInt
1073742020 :: BG.CUInt)
sDLK_KP_LESS :: BG.CUInt
sDLK_KP_LESS :: CUInt
sDLK_KP_LESS = (CUInt
1073742021 :: BG.CUInt)
sDLK_KP_GREATER :: BG.CUInt
sDLK_KP_GREATER :: CUInt
sDLK_KP_GREATER = (CUInt
1073742022 :: BG.CUInt)
sDLK_KP_AMPERSAND :: BG.CUInt
sDLK_KP_AMPERSAND :: CUInt
sDLK_KP_AMPERSAND = (CUInt
1073742023 :: BG.CUInt)
sDLK_KP_DBLAMPERSAND :: BG.CUInt
sDLK_KP_DBLAMPERSAND :: CUInt
sDLK_KP_DBLAMPERSAND = (CUInt
1073742024 :: BG.CUInt)
sDLK_KP_VERTICALBAR :: BG.CUInt
sDLK_KP_VERTICALBAR :: CUInt
sDLK_KP_VERTICALBAR = (CUInt
1073742025 :: BG.CUInt)
sDLK_KP_DBLVERTICALBAR :: BG.CUInt
sDLK_KP_DBLVERTICALBAR :: CUInt
sDLK_KP_DBLVERTICALBAR = (CUInt
1073742026 :: BG.CUInt)
sDLK_KP_COLON :: BG.CUInt
sDLK_KP_COLON :: CUInt
sDLK_KP_COLON = (CUInt
1073742027 :: BG.CUInt)
sDLK_KP_HASH :: BG.CUInt
sDLK_KP_HASH :: CUInt
sDLK_KP_HASH = (CUInt
1073742028 :: BG.CUInt)
sDLK_KP_SPACE :: BG.CUInt
sDLK_KP_SPACE :: CUInt
sDLK_KP_SPACE = (CUInt
1073742029 :: BG.CUInt)
sDLK_KP_AT :: BG.CUInt
sDLK_KP_AT :: CUInt
sDLK_KP_AT = (CUInt
1073742030 :: BG.CUInt)
sDLK_KP_EXCLAM :: BG.CUInt
sDLK_KP_EXCLAM :: CUInt
sDLK_KP_EXCLAM = (CUInt
1073742031 :: BG.CUInt)
sDLK_KP_MEMSTORE :: BG.CUInt
sDLK_KP_MEMSTORE :: CUInt
sDLK_KP_MEMSTORE = (CUInt
1073742032 :: BG.CUInt)
sDLK_KP_MEMRECALL :: BG.CUInt
sDLK_KP_MEMRECALL :: CUInt
sDLK_KP_MEMRECALL = (CUInt
1073742033 :: BG.CUInt)
sDLK_KP_MEMCLEAR :: BG.CUInt
sDLK_KP_MEMCLEAR :: CUInt
sDLK_KP_MEMCLEAR = (CUInt
1073742034 :: BG.CUInt)
sDLK_KP_MEMADD :: BG.CUInt
sDLK_KP_MEMADD :: CUInt
sDLK_KP_MEMADD = (CUInt
1073742035 :: BG.CUInt)
sDLK_KP_MEMSUBTRACT :: BG.CUInt
sDLK_KP_MEMSUBTRACT :: CUInt
sDLK_KP_MEMSUBTRACT = (CUInt
1073742036 :: BG.CUInt)
sDLK_KP_MEMMULTIPLY :: BG.CUInt
sDLK_KP_MEMMULTIPLY :: CUInt
sDLK_KP_MEMMULTIPLY = (CUInt
1073742037 :: BG.CUInt)
sDLK_KP_MEMDIVIDE :: BG.CUInt
sDLK_KP_MEMDIVIDE :: CUInt
sDLK_KP_MEMDIVIDE = (CUInt
1073742038 :: BG.CUInt)
sDLK_KP_PLUSMINUS :: BG.CUInt
sDLK_KP_PLUSMINUS :: CUInt
sDLK_KP_PLUSMINUS = (CUInt
1073742039 :: BG.CUInt)
sDLK_KP_CLEAR :: BG.CUInt
sDLK_KP_CLEAR :: CUInt
sDLK_KP_CLEAR = (CUInt
1073742040 :: BG.CUInt)
sDLK_KP_CLEARENTRY :: BG.CUInt
sDLK_KP_CLEARENTRY :: CUInt
sDLK_KP_CLEARENTRY = (CUInt
1073742041 :: BG.CUInt)
sDLK_KP_BINARY :: BG.CUInt
sDLK_KP_BINARY :: CUInt
sDLK_KP_BINARY = (CUInt
1073742042 :: BG.CUInt)
sDLK_KP_OCTAL :: BG.CUInt
sDLK_KP_OCTAL :: CUInt
sDLK_KP_OCTAL = (CUInt
1073742043 :: BG.CUInt)
sDLK_KP_DECIMAL :: BG.CUInt
sDLK_KP_DECIMAL :: CUInt
sDLK_KP_DECIMAL = (CUInt
1073742044 :: BG.CUInt)
sDLK_KP_HEXADECIMAL :: BG.CUInt
sDLK_KP_HEXADECIMAL :: CUInt
sDLK_KP_HEXADECIMAL = (CUInt
1073742045 :: BG.CUInt)
sDLK_LCTRL :: BG.CUInt
sDLK_LCTRL :: CUInt
sDLK_LCTRL = (CUInt
1073742048 :: BG.CUInt)
sDLK_LSHIFT :: BG.CUInt
sDLK_LSHIFT :: CUInt
sDLK_LSHIFT = (CUInt
1073742049 :: BG.CUInt)
sDLK_LALT :: BG.CUInt
sDLK_LALT :: CUInt
sDLK_LALT = (CUInt
1073742050 :: BG.CUInt)
sDLK_LGUI :: BG.CUInt
sDLK_LGUI :: CUInt
sDLK_LGUI = (CUInt
1073742051 :: BG.CUInt)
sDLK_RCTRL :: BG.CUInt
sDLK_RCTRL :: CUInt
sDLK_RCTRL = (CUInt
1073742052 :: BG.CUInt)
sDLK_RSHIFT :: BG.CUInt
sDLK_RSHIFT :: CUInt
sDLK_RSHIFT = (CUInt
1073742053 :: BG.CUInt)
sDLK_RALT :: BG.CUInt
sDLK_RALT :: CUInt
sDLK_RALT = (CUInt
1073742054 :: BG.CUInt)
sDLK_RGUI :: BG.CUInt
sDLK_RGUI :: CUInt
sDLK_RGUI = (CUInt
1073742055 :: BG.CUInt)
sDLK_MODE :: BG.CUInt
sDLK_MODE :: CUInt
sDLK_MODE = (CUInt
1073742081 :: BG.CUInt)
sDLK_SLEEP :: BG.CUInt
sDLK_SLEEP :: CUInt
sDLK_SLEEP = (CUInt
1073742082 :: BG.CUInt)
sDLK_WAKE :: BG.CUInt
sDLK_WAKE :: CUInt
sDLK_WAKE = (CUInt
1073742083 :: BG.CUInt)
sDLK_CHANNEL_INCREMENT :: BG.CUInt
sDLK_CHANNEL_INCREMENT :: CUInt
sDLK_CHANNEL_INCREMENT = (CUInt
1073742084 :: BG.CUInt)
sDLK_CHANNEL_DECREMENT :: BG.CUInt
sDLK_CHANNEL_DECREMENT :: CUInt
sDLK_CHANNEL_DECREMENT = (CUInt
1073742085 :: BG.CUInt)
sDLK_MEDIA_PLAY :: BG.CUInt
sDLK_MEDIA_PLAY :: CUInt
sDLK_MEDIA_PLAY = (CUInt
1073742086 :: BG.CUInt)
sDLK_MEDIA_PAUSE :: BG.CUInt
sDLK_MEDIA_PAUSE :: CUInt
sDLK_MEDIA_PAUSE = (CUInt
1073742087 :: BG.CUInt)
sDLK_MEDIA_RECORD :: BG.CUInt
sDLK_MEDIA_RECORD :: CUInt
sDLK_MEDIA_RECORD = (CUInt
1073742088 :: BG.CUInt)
sDLK_MEDIA_FAST_FORWARD :: BG.CUInt
sDLK_MEDIA_FAST_FORWARD :: CUInt
sDLK_MEDIA_FAST_FORWARD = (CUInt
1073742089 :: BG.CUInt)
sDLK_MEDIA_REWIND :: BG.CUInt
sDLK_MEDIA_REWIND :: CUInt
sDLK_MEDIA_REWIND = (CUInt
1073742090 :: BG.CUInt)
sDLK_MEDIA_NEXT_TRACK :: BG.CUInt
sDLK_MEDIA_NEXT_TRACK :: CUInt
sDLK_MEDIA_NEXT_TRACK = (CUInt
1073742091 :: BG.CUInt)
sDLK_MEDIA_PREVIOUS_TRACK :: BG.CUInt
sDLK_MEDIA_PREVIOUS_TRACK :: CUInt
sDLK_MEDIA_PREVIOUS_TRACK = (CUInt
1073742092 :: BG.CUInt)
sDLK_MEDIA_STOP :: BG.CUInt
sDLK_MEDIA_STOP :: CUInt
sDLK_MEDIA_STOP = (CUInt
1073742093 :: BG.CUInt)
sDLK_MEDIA_EJECT :: BG.CUInt
sDLK_MEDIA_EJECT :: CUInt
sDLK_MEDIA_EJECT = (CUInt
1073742094 :: BG.CUInt)
sDLK_MEDIA_PLAY_PAUSE :: BG.CUInt
sDLK_MEDIA_PLAY_PAUSE :: CUInt
sDLK_MEDIA_PLAY_PAUSE = (CUInt
1073742095 :: BG.CUInt)
sDLK_MEDIA_SELECT :: BG.CUInt
sDLK_MEDIA_SELECT :: CUInt
sDLK_MEDIA_SELECT = (CUInt
1073742096 :: BG.CUInt)
sDLK_AC_NEW :: BG.CUInt
sDLK_AC_NEW :: CUInt
sDLK_AC_NEW = (CUInt
1073742097 :: BG.CUInt)
sDLK_AC_OPEN :: BG.CUInt
sDLK_AC_OPEN :: CUInt
sDLK_AC_OPEN = (CUInt
1073742098 :: BG.CUInt)
sDLK_AC_CLOSE :: BG.CUInt
sDLK_AC_CLOSE :: CUInt
sDLK_AC_CLOSE = (CUInt
1073742099 :: BG.CUInt)
sDLK_AC_EXIT :: BG.CUInt
sDLK_AC_EXIT :: CUInt
sDLK_AC_EXIT = (CUInt
1073742100 :: BG.CUInt)
sDLK_AC_SAVE :: BG.CUInt
sDLK_AC_SAVE :: CUInt
sDLK_AC_SAVE = (CUInt
1073742101 :: BG.CUInt)
sDLK_AC_PRINT :: BG.CUInt
sDLK_AC_PRINT :: CUInt
sDLK_AC_PRINT = (CUInt
1073742102 :: BG.CUInt)
sDLK_AC_PROPERTIES :: BG.CUInt
sDLK_AC_PROPERTIES :: CUInt
sDLK_AC_PROPERTIES = (CUInt
1073742103 :: BG.CUInt)
sDLK_AC_SEARCH :: BG.CUInt
sDLK_AC_SEARCH :: CUInt
sDLK_AC_SEARCH = (CUInt
1073742104 :: BG.CUInt)
sDLK_AC_HOME :: BG.CUInt
sDLK_AC_HOME :: CUInt
sDLK_AC_HOME = (CUInt
1073742105 :: BG.CUInt)
sDLK_AC_BACK :: BG.CUInt
sDLK_AC_BACK :: CUInt
sDLK_AC_BACK = (CUInt
1073742106 :: BG.CUInt)
sDLK_AC_FORWARD :: BG.CUInt
sDLK_AC_FORWARD :: CUInt
sDLK_AC_FORWARD = (CUInt
1073742107 :: BG.CUInt)
sDLK_AC_STOP :: BG.CUInt
sDLK_AC_STOP :: CUInt
sDLK_AC_STOP = (CUInt
1073742108 :: BG.CUInt)
sDLK_AC_REFRESH :: BG.CUInt
sDLK_AC_REFRESH :: CUInt
sDLK_AC_REFRESH = (CUInt
1073742109 :: BG.CUInt)
sDLK_AC_BOOKMARKS :: BG.CUInt
sDLK_AC_BOOKMARKS :: CUInt
sDLK_AC_BOOKMARKS = (CUInt
1073742110 :: BG.CUInt)
sDLK_SOFTLEFT :: BG.CUInt
sDLK_SOFTLEFT :: CUInt
sDLK_SOFTLEFT = (CUInt
1073742111 :: BG.CUInt)
sDLK_SOFTRIGHT :: BG.CUInt
sDLK_SOFTRIGHT :: CUInt
sDLK_SOFTRIGHT = (CUInt
1073742112 :: BG.CUInt)
sDLK_CALL :: BG.CUInt
sDLK_CALL :: CUInt
sDLK_CALL = (CUInt
1073742113 :: BG.CUInt)
sDLK_ENDCALL :: BG.CUInt
sDLK_ENDCALL :: CUInt
sDLK_ENDCALL = (CUInt
1073742114 :: BG.CUInt)
sDLK_LEFT_TAB :: BG.CUInt
sDLK_LEFT_TAB :: CUInt
sDLK_LEFT_TAB = (CUInt
536870913 :: BG.CUInt)
sDLK_LEVEL5_SHIFT :: BG.CUInt
sDLK_LEVEL5_SHIFT :: CUInt
sDLK_LEVEL5_SHIFT = (CUInt
536870914 :: BG.CUInt)
sDLK_MULTI_KEY_COMPOSE :: BG.CUInt
sDLK_MULTI_KEY_COMPOSE :: CUInt
sDLK_MULTI_KEY_COMPOSE = (CUInt
536870915 :: BG.CUInt)
sDLK_LMETA :: BG.CUInt
sDLK_LMETA :: CUInt
sDLK_LMETA = (CUInt
536870916 :: BG.CUInt)
sDLK_RMETA :: BG.CUInt
sDLK_RMETA :: CUInt
sDLK_RMETA = (CUInt
536870917 :: BG.CUInt)
sDLK_LHYPER :: BG.CUInt
sDLK_LHYPER :: CUInt
sDLK_LHYPER = (CUInt
536870918 :: BG.CUInt)
sDLK_RHYPER :: BG.CUInt
sDLK_RHYPER :: CUInt
sDLK_RHYPER = (CUInt
536870919 :: BG.CUInt)
newtype SDL_Keymod = SDL_Keymod
{ SDL_Keymod -> Uint16
unwrap :: SDL3.Sys.Bindgen.Stdinc.Uint16
}
deriving stock ((forall x. SDL_Keymod -> Rep SDL_Keymod x)
-> (forall x. Rep SDL_Keymod x -> SDL_Keymod) -> Generic SDL_Keymod
forall x. Rep SDL_Keymod x -> SDL_Keymod
forall x. SDL_Keymod -> Rep SDL_Keymod x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SDL_Keymod -> Rep SDL_Keymod x
from :: forall x. SDL_Keymod -> Rep SDL_Keymod x
$cto :: forall x. Rep SDL_Keymod x -> SDL_Keymod
to :: forall x. Rep SDL_Keymod x -> SDL_Keymod
BG.Generic, SDL_Keymod -> SDL_Keymod -> Bool
(SDL_Keymod -> SDL_Keymod -> Bool)
-> (SDL_Keymod -> SDL_Keymod -> Bool) -> Eq SDL_Keymod
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SDL_Keymod -> SDL_Keymod -> Bool
== :: SDL_Keymod -> SDL_Keymod -> Bool
$c/= :: SDL_Keymod -> SDL_Keymod -> Bool
/= :: SDL_Keymod -> SDL_Keymod -> Bool
Eq, Eq SDL_Keymod
Eq SDL_Keymod =>
(SDL_Keymod -> SDL_Keymod -> Ordering)
-> (SDL_Keymod -> SDL_Keymod -> Bool)
-> (SDL_Keymod -> SDL_Keymod -> Bool)
-> (SDL_Keymod -> SDL_Keymod -> Bool)
-> (SDL_Keymod -> SDL_Keymod -> Bool)
-> (SDL_Keymod -> SDL_Keymod -> SDL_Keymod)
-> (SDL_Keymod -> SDL_Keymod -> SDL_Keymod)
-> Ord SDL_Keymod
SDL_Keymod -> SDL_Keymod -> Bool
SDL_Keymod -> SDL_Keymod -> Ordering
SDL_Keymod -> SDL_Keymod -> SDL_Keymod
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: SDL_Keymod -> SDL_Keymod -> Ordering
compare :: SDL_Keymod -> SDL_Keymod -> Ordering
$c< :: SDL_Keymod -> SDL_Keymod -> Bool
< :: SDL_Keymod -> SDL_Keymod -> Bool
$c<= :: SDL_Keymod -> SDL_Keymod -> Bool
<= :: SDL_Keymod -> SDL_Keymod -> Bool
$c> :: SDL_Keymod -> SDL_Keymod -> Bool
> :: SDL_Keymod -> SDL_Keymod -> Bool
$c>= :: SDL_Keymod -> SDL_Keymod -> Bool
>= :: SDL_Keymod -> SDL_Keymod -> Bool
$cmax :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
max :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
$cmin :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
min :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
Ord, ReadPrec [SDL_Keymod]
ReadPrec SDL_Keymod
Int -> ReadS SDL_Keymod
ReadS [SDL_Keymod]
(Int -> ReadS SDL_Keymod)
-> ReadS [SDL_Keymod]
-> ReadPrec SDL_Keymod
-> ReadPrec [SDL_Keymod]
-> Read SDL_Keymod
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
$creadsPrec :: Int -> ReadS SDL_Keymod
readsPrec :: Int -> ReadS SDL_Keymod
$creadList :: ReadS [SDL_Keymod]
readList :: ReadS [SDL_Keymod]
$creadPrec :: ReadPrec SDL_Keymod
readPrec :: ReadPrec SDL_Keymod
$creadListPrec :: ReadPrec [SDL_Keymod]
readListPrec :: ReadPrec [SDL_Keymod]
Read, Int -> SDL_Keymod -> ShowS
[SDL_Keymod] -> ShowS
SDL_Keymod -> String
(Int -> SDL_Keymod -> ShowS)
-> (SDL_Keymod -> String)
-> ([SDL_Keymod] -> ShowS)
-> Show SDL_Keymod
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SDL_Keymod -> ShowS
showsPrec :: Int -> SDL_Keymod -> ShowS
$cshow :: SDL_Keymod -> String
show :: SDL_Keymod -> String
$cshowList :: [SDL_Keymod] -> ShowS
showList :: [SDL_Keymod] -> ShowS
Show)
deriving newtype
( Word64 -> Int -> SDL_Keymod
SDL_Keymod -> Int -> Word64
(SDL_Keymod -> Int -> Word64)
-> (Word64 -> Int -> SDL_Keymod) -> Bitfield SDL_Keymod
forall a.
(a -> Int -> Word64) -> (Word64 -> Int -> a) -> Bitfield a
$cnarrow :: SDL_Keymod -> Int -> Word64
narrow :: SDL_Keymod -> Int -> Word64
$cextend :: Word64 -> Int -> SDL_Keymod
extend :: Word64 -> Int -> SDL_Keymod
BG.Bitfield
, Eq SDL_Keymod
SDL_Keymod
Eq SDL_Keymod =>
(SDL_Keymod -> SDL_Keymod -> SDL_Keymod)
-> (SDL_Keymod -> SDL_Keymod -> SDL_Keymod)
-> (SDL_Keymod -> SDL_Keymod -> SDL_Keymod)
-> (SDL_Keymod -> SDL_Keymod)
-> (SDL_Keymod -> Int -> SDL_Keymod)
-> (SDL_Keymod -> Int -> SDL_Keymod)
-> SDL_Keymod
-> (Int -> SDL_Keymod)
-> (SDL_Keymod -> Int -> SDL_Keymod)
-> (SDL_Keymod -> Int -> SDL_Keymod)
-> (SDL_Keymod -> Int -> SDL_Keymod)
-> (SDL_Keymod -> Int -> Bool)
-> (SDL_Keymod -> Maybe Int)
-> (SDL_Keymod -> Int)
-> (SDL_Keymod -> Bool)
-> (SDL_Keymod -> Int -> SDL_Keymod)
-> (SDL_Keymod -> Int -> SDL_Keymod)
-> (SDL_Keymod -> Int -> SDL_Keymod)
-> (SDL_Keymod -> Int -> SDL_Keymod)
-> (SDL_Keymod -> Int -> SDL_Keymod)
-> (SDL_Keymod -> Int -> SDL_Keymod)
-> (SDL_Keymod -> Int)
-> Bits SDL_Keymod
Int -> SDL_Keymod
SDL_Keymod -> Bool
SDL_Keymod -> Int
SDL_Keymod -> Maybe Int
SDL_Keymod -> SDL_Keymod
SDL_Keymod -> Int -> Bool
SDL_Keymod -> Int -> SDL_Keymod
SDL_Keymod -> SDL_Keymod -> SDL_Keymod
forall a.
Eq a =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> a
-> (Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> Bool)
-> (a -> Maybe Int)
-> (a -> Int)
-> (a -> Bool)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int)
-> Bits a
$c.&. :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
.&. :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
$c.|. :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
.|. :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
$cxor :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
xor :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
$ccomplement :: SDL_Keymod -> SDL_Keymod
complement :: SDL_Keymod -> SDL_Keymod
$cshift :: SDL_Keymod -> Int -> SDL_Keymod
shift :: SDL_Keymod -> Int -> SDL_Keymod
$crotate :: SDL_Keymod -> Int -> SDL_Keymod
rotate :: SDL_Keymod -> Int -> SDL_Keymod
$czeroBits :: SDL_Keymod
zeroBits :: SDL_Keymod
$cbit :: Int -> SDL_Keymod
bit :: Int -> SDL_Keymod
$csetBit :: SDL_Keymod -> Int -> SDL_Keymod
setBit :: SDL_Keymod -> Int -> SDL_Keymod
$cclearBit :: SDL_Keymod -> Int -> SDL_Keymod
clearBit :: SDL_Keymod -> Int -> SDL_Keymod
$ccomplementBit :: SDL_Keymod -> Int -> SDL_Keymod
complementBit :: SDL_Keymod -> Int -> SDL_Keymod
$ctestBit :: SDL_Keymod -> Int -> Bool
testBit :: SDL_Keymod -> Int -> Bool
$cbitSizeMaybe :: SDL_Keymod -> Maybe Int
bitSizeMaybe :: SDL_Keymod -> Maybe Int
$cbitSize :: SDL_Keymod -> Int
bitSize :: SDL_Keymod -> Int
$cisSigned :: SDL_Keymod -> Bool
isSigned :: SDL_Keymod -> Bool
$cshiftL :: SDL_Keymod -> Int -> SDL_Keymod
shiftL :: SDL_Keymod -> Int -> SDL_Keymod
$cunsafeShiftL :: SDL_Keymod -> Int -> SDL_Keymod
unsafeShiftL :: SDL_Keymod -> Int -> SDL_Keymod
$cshiftR :: SDL_Keymod -> Int -> SDL_Keymod
shiftR :: SDL_Keymod -> Int -> SDL_Keymod
$cunsafeShiftR :: SDL_Keymod -> Int -> SDL_Keymod
unsafeShiftR :: SDL_Keymod -> Int -> SDL_Keymod
$crotateL :: SDL_Keymod -> Int -> SDL_Keymod
rotateL :: SDL_Keymod -> Int -> SDL_Keymod
$crotateR :: SDL_Keymod -> Int -> SDL_Keymod
rotateR :: SDL_Keymod -> Int -> SDL_Keymod
$cpopCount :: SDL_Keymod -> Int
popCount :: SDL_Keymod -> Int
BG.Bits
, Bits SDL_Keymod
Bits SDL_Keymod =>
(SDL_Keymod -> Int)
-> (SDL_Keymod -> Int)
-> (SDL_Keymod -> Int)
-> FiniteBits SDL_Keymod
SDL_Keymod -> Int
forall b.
Bits b =>
(b -> Int) -> (b -> Int) -> (b -> Int) -> FiniteBits b
$cfiniteBitSize :: SDL_Keymod -> Int
finiteBitSize :: SDL_Keymod -> Int
$ccountLeadingZeros :: SDL_Keymod -> Int
countLeadingZeros :: SDL_Keymod -> Int
$ccountTrailingZeros :: SDL_Keymod -> Int
countTrailingZeros :: SDL_Keymod -> Int
BG.FiniteBits
, FFIType SDL_Keymod -> SDL_Keymod
SDL_Keymod -> FFIType SDL_Keymod
(SDL_Keymod -> FFIType SDL_Keymod)
-> (FFIType SDL_Keymod -> SDL_Keymod) -> HasFFIType SDL_Keymod
forall a. (a -> FFIType a) -> (FFIType a -> a) -> HasFFIType a
$ctoFFIType :: SDL_Keymod -> FFIType SDL_Keymod
toFFIType :: SDL_Keymod -> FFIType SDL_Keymod
$cfromFFIType :: FFIType SDL_Keymod -> SDL_Keymod
fromFFIType :: FFIType SDL_Keymod -> SDL_Keymod
BG.HasFFIType
, Ord SDL_Keymod
Ord SDL_Keymod =>
((SDL_Keymod, SDL_Keymod) -> [SDL_Keymod])
-> ((SDL_Keymod, SDL_Keymod) -> SDL_Keymod -> Int)
-> ((SDL_Keymod, SDL_Keymod) -> SDL_Keymod -> Int)
-> ((SDL_Keymod, SDL_Keymod) -> SDL_Keymod -> Bool)
-> ((SDL_Keymod, SDL_Keymod) -> Int)
-> ((SDL_Keymod, SDL_Keymod) -> Int)
-> Ix SDL_Keymod
(SDL_Keymod, SDL_Keymod) -> Int
(SDL_Keymod, SDL_Keymod) -> [SDL_Keymod]
(SDL_Keymod, SDL_Keymod) -> SDL_Keymod -> Bool
(SDL_Keymod, SDL_Keymod) -> SDL_Keymod -> Int
forall a.
Ord a =>
((a, a) -> [a])
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Int)
-> ((a, a) -> a -> Bool)
-> ((a, a) -> Int)
-> ((a, a) -> Int)
-> Ix a
$crange :: (SDL_Keymod, SDL_Keymod) -> [SDL_Keymod]
range :: (SDL_Keymod, SDL_Keymod) -> [SDL_Keymod]
$cindex :: (SDL_Keymod, SDL_Keymod) -> SDL_Keymod -> Int
index :: (SDL_Keymod, SDL_Keymod) -> SDL_Keymod -> Int
$cunsafeIndex :: (SDL_Keymod, SDL_Keymod) -> SDL_Keymod -> Int
unsafeIndex :: (SDL_Keymod, SDL_Keymod) -> SDL_Keymod -> Int
$cinRange :: (SDL_Keymod, SDL_Keymod) -> SDL_Keymod -> Bool
inRange :: (SDL_Keymod, SDL_Keymod) -> SDL_Keymod -> Bool
$crangeSize :: (SDL_Keymod, SDL_Keymod) -> Int
rangeSize :: (SDL_Keymod, SDL_Keymod) -> Int
$cunsafeRangeSize :: (SDL_Keymod, SDL_Keymod) -> Int
unsafeRangeSize :: (SDL_Keymod, SDL_Keymod) -> Int
BG.Ix
, Addr# -> Int# -> SDL_Keymod
ByteArray# -> Int# -> SDL_Keymod
Proxy SDL_Keymod -> Int#
SDL_Keymod -> Int#
(Proxy SDL_Keymod -> Int#)
-> (SDL_Keymod -> Int#)
-> (Proxy SDL_Keymod -> Int#)
-> (SDL_Keymod -> Int#)
-> (ByteArray# -> Int# -> SDL_Keymod)
-> (forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_Keymod #))
-> (forall s.
MutableByteArray# s -> Int# -> SDL_Keymod -> State# s -> State# s)
-> (forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_Keymod -> State# s -> State# s)
-> (Addr# -> Int# -> SDL_Keymod)
-> (forall s.
Addr# -> Int# -> State# s -> (# State# s, SDL_Keymod #))
-> (forall s. Addr# -> Int# -> SDL_Keymod -> State# s -> State# s)
-> (forall s.
Addr# -> Int# -> Int# -> SDL_Keymod -> State# s -> State# s)
-> Prim SDL_Keymod
forall s.
Addr# -> Int# -> Int# -> SDL_Keymod -> State# s -> State# s
forall s. Addr# -> Int# -> State# s -> (# State# s, SDL_Keymod #)
forall s. Addr# -> Int# -> SDL_Keymod -> State# s -> State# s
forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_Keymod -> State# s -> State# s
forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_Keymod #)
forall s.
MutableByteArray# s -> Int# -> SDL_Keymod -> State# s -> State# s
forall a.
(Proxy a -> Int#)
-> (a -> Int#)
-> (Proxy a -> Int#)
-> (a -> Int#)
-> (ByteArray# -> Int# -> a)
-> (forall s.
MutableByteArray# s -> Int# -> State# s -> (# State# s, a #))
-> (forall s.
MutableByteArray# s -> Int# -> a -> State# s -> State# s)
-> (forall s.
MutableByteArray# s -> Int# -> Int# -> a -> State# s -> State# s)
-> (Addr# -> Int# -> a)
-> (forall s. Addr# -> Int# -> State# s -> (# State# s, a #))
-> (forall s. Addr# -> Int# -> a -> State# s -> State# s)
-> (forall s. Addr# -> Int# -> Int# -> a -> State# s -> State# s)
-> Prim a
$csizeOfType# :: Proxy SDL_Keymod -> Int#
sizeOfType# :: Proxy SDL_Keymod -> Int#
$csizeOf# :: SDL_Keymod -> Int#
sizeOf# :: SDL_Keymod -> Int#
$calignmentOfType# :: Proxy SDL_Keymod -> Int#
alignmentOfType# :: Proxy SDL_Keymod -> Int#
$calignment# :: SDL_Keymod -> Int#
alignment# :: SDL_Keymod -> Int#
$cindexByteArray# :: ByteArray# -> Int# -> SDL_Keymod
indexByteArray# :: ByteArray# -> Int# -> SDL_Keymod
$creadByteArray# :: forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_Keymod #)
readByteArray# :: forall s.
MutableByteArray# s
-> Int# -> State# s -> (# State# s, SDL_Keymod #)
$cwriteByteArray# :: forall s.
MutableByteArray# s -> Int# -> SDL_Keymod -> State# s -> State# s
writeByteArray# :: forall s.
MutableByteArray# s -> Int# -> SDL_Keymod -> State# s -> State# s
$csetByteArray# :: forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_Keymod -> State# s -> State# s
setByteArray# :: forall s.
MutableByteArray# s
-> Int# -> Int# -> SDL_Keymod -> State# s -> State# s
$cindexOffAddr# :: Addr# -> Int# -> SDL_Keymod
indexOffAddr# :: Addr# -> Int# -> SDL_Keymod
$creadOffAddr# :: forall s. Addr# -> Int# -> State# s -> (# State# s, SDL_Keymod #)
readOffAddr# :: forall s. Addr# -> Int# -> State# s -> (# State# s, SDL_Keymod #)
$cwriteOffAddr# :: forall s. Addr# -> Int# -> SDL_Keymod -> State# s -> State# s
writeOffAddr# :: forall s. Addr# -> Int# -> SDL_Keymod -> State# s -> State# s
$csetOffAddr# :: forall s.
Addr# -> Int# -> Int# -> SDL_Keymod -> State# s -> State# s
setOffAddr# :: forall s.
Addr# -> Int# -> Int# -> SDL_Keymod -> State# s -> State# s
BG.Prim
, Ptr SDL_Keymod -> IO SDL_Keymod
Ptr SDL_Keymod -> Int -> IO SDL_Keymod
Ptr SDL_Keymod -> Int -> SDL_Keymod -> IO ()
Ptr SDL_Keymod -> SDL_Keymod -> IO ()
SDL_Keymod -> Int
(SDL_Keymod -> Int)
-> (SDL_Keymod -> Int)
-> (Ptr SDL_Keymod -> Int -> IO SDL_Keymod)
-> (Ptr SDL_Keymod -> Int -> SDL_Keymod -> IO ())
-> (forall b. Ptr b -> Int -> IO SDL_Keymod)
-> (forall b. Ptr b -> Int -> SDL_Keymod -> IO ())
-> (Ptr SDL_Keymod -> IO SDL_Keymod)
-> (Ptr SDL_Keymod -> SDL_Keymod -> IO ())
-> Storable SDL_Keymod
forall b. Ptr b -> Int -> IO SDL_Keymod
forall b. Ptr b -> Int -> SDL_Keymod -> IO ()
forall a.
(a -> Int)
-> (a -> Int)
-> (Ptr a -> Int -> IO a)
-> (Ptr a -> Int -> a -> IO ())
-> (forall b. Ptr b -> Int -> IO a)
-> (forall b. Ptr b -> Int -> a -> IO ())
-> (Ptr a -> IO a)
-> (Ptr a -> a -> IO ())
-> Storable a
$csizeOf :: SDL_Keymod -> Int
sizeOf :: SDL_Keymod -> Int
$calignment :: SDL_Keymod -> Int
alignment :: SDL_Keymod -> Int
$cpeekElemOff :: Ptr SDL_Keymod -> Int -> IO SDL_Keymod
peekElemOff :: Ptr SDL_Keymod -> Int -> IO SDL_Keymod
$cpokeElemOff :: Ptr SDL_Keymod -> Int -> SDL_Keymod -> IO ()
pokeElemOff :: Ptr SDL_Keymod -> Int -> SDL_Keymod -> IO ()
$cpeekByteOff :: forall b. Ptr b -> Int -> IO SDL_Keymod
peekByteOff :: forall b. Ptr b -> Int -> IO SDL_Keymod
$cpokeByteOff :: forall b. Ptr b -> Int -> SDL_Keymod -> IO ()
pokeByteOff :: forall b. Ptr b -> Int -> SDL_Keymod -> IO ()
$cpeek :: Ptr SDL_Keymod -> IO SDL_Keymod
peek :: Ptr SDL_Keymod -> IO SDL_Keymod
$cpoke :: Ptr SDL_Keymod -> SDL_Keymod -> IO ()
poke :: Ptr SDL_Keymod -> SDL_Keymod -> IO ()
BG.Storable
, SDL_Keymod
SDL_Keymod -> SDL_Keymod -> Bounded SDL_Keymod
forall a. a -> a -> Bounded a
$cminBound :: SDL_Keymod
minBound :: SDL_Keymod
$cmaxBound :: SDL_Keymod
maxBound :: SDL_Keymod
Bounded
, Int -> SDL_Keymod
SDL_Keymod -> Int
SDL_Keymod -> [SDL_Keymod]
SDL_Keymod -> SDL_Keymod
SDL_Keymod -> SDL_Keymod -> [SDL_Keymod]
SDL_Keymod -> SDL_Keymod -> SDL_Keymod -> [SDL_Keymod]
(SDL_Keymod -> SDL_Keymod)
-> (SDL_Keymod -> SDL_Keymod)
-> (Int -> SDL_Keymod)
-> (SDL_Keymod -> Int)
-> (SDL_Keymod -> [SDL_Keymod])
-> (SDL_Keymod -> SDL_Keymod -> [SDL_Keymod])
-> (SDL_Keymod -> SDL_Keymod -> [SDL_Keymod])
-> (SDL_Keymod -> SDL_Keymod -> SDL_Keymod -> [SDL_Keymod])
-> Enum SDL_Keymod
forall a.
(a -> a)
-> (a -> a)
-> (Int -> a)
-> (a -> Int)
-> (a -> [a])
-> (a -> a -> [a])
-> (a -> a -> [a])
-> (a -> a -> a -> [a])
-> Enum a
$csucc :: SDL_Keymod -> SDL_Keymod
succ :: SDL_Keymod -> SDL_Keymod
$cpred :: SDL_Keymod -> SDL_Keymod
pred :: SDL_Keymod -> SDL_Keymod
$ctoEnum :: Int -> SDL_Keymod
toEnum :: Int -> SDL_Keymod
$cfromEnum :: SDL_Keymod -> Int
fromEnum :: SDL_Keymod -> Int
$cenumFrom :: SDL_Keymod -> [SDL_Keymod]
enumFrom :: SDL_Keymod -> [SDL_Keymod]
$cenumFromThen :: SDL_Keymod -> SDL_Keymod -> [SDL_Keymod]
enumFromThen :: SDL_Keymod -> SDL_Keymod -> [SDL_Keymod]
$cenumFromTo :: SDL_Keymod -> SDL_Keymod -> [SDL_Keymod]
enumFromTo :: SDL_Keymod -> SDL_Keymod -> [SDL_Keymod]
$cenumFromThenTo :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod -> [SDL_Keymod]
enumFromThenTo :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod -> [SDL_Keymod]
Enum
, Enum SDL_Keymod
Real SDL_Keymod
(Real SDL_Keymod, Enum SDL_Keymod) =>
(SDL_Keymod -> SDL_Keymod -> SDL_Keymod)
-> (SDL_Keymod -> SDL_Keymod -> SDL_Keymod)
-> (SDL_Keymod -> SDL_Keymod -> SDL_Keymod)
-> (SDL_Keymod -> SDL_Keymod -> SDL_Keymod)
-> (SDL_Keymod -> SDL_Keymod -> (SDL_Keymod, SDL_Keymod))
-> (SDL_Keymod -> SDL_Keymod -> (SDL_Keymod, SDL_Keymod))
-> (SDL_Keymod -> Integer)
-> Integral SDL_Keymod
SDL_Keymod -> Integer
SDL_Keymod -> SDL_Keymod -> (SDL_Keymod, SDL_Keymod)
SDL_Keymod -> SDL_Keymod -> SDL_Keymod
forall a.
(Real a, Enum a) =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> (a, a))
-> (a -> a -> (a, a))
-> (a -> Integer)
-> Integral a
$cquot :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
quot :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
$crem :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
rem :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
$cdiv :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
div :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
$cmod :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
mod :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
$cquotRem :: SDL_Keymod -> SDL_Keymod -> (SDL_Keymod, SDL_Keymod)
quotRem :: SDL_Keymod -> SDL_Keymod -> (SDL_Keymod, SDL_Keymod)
$cdivMod :: SDL_Keymod -> SDL_Keymod -> (SDL_Keymod, SDL_Keymod)
divMod :: SDL_Keymod -> SDL_Keymod -> (SDL_Keymod, SDL_Keymod)
$ctoInteger :: SDL_Keymod -> Integer
toInteger :: SDL_Keymod -> Integer
Integral
, Ptr SDL_Keymod -> IO SDL_Keymod
(Ptr SDL_Keymod -> IO SDL_Keymod) -> ReadRaw SDL_Keymod
forall a. (Ptr a -> IO a) -> ReadRaw a
$creadRaw :: Ptr SDL_Keymod -> IO SDL_Keymod
readRaw :: Ptr SDL_Keymod -> IO SDL_Keymod
Marshal.ReadRaw
, Proxy SDL_Keymod -> Int
(Proxy SDL_Keymod -> Int)
-> (Proxy SDL_Keymod -> Int) -> StaticSize SDL_Keymod
forall a. (Proxy a -> Int) -> (Proxy a -> Int) -> StaticSize a
$cstaticSizeOf :: Proxy SDL_Keymod -> Int
staticSizeOf :: Proxy SDL_Keymod -> Int
$cstaticAlignment :: Proxy SDL_Keymod -> Int
staticAlignment :: Proxy SDL_Keymod -> Int
Marshal.StaticSize
, Ptr SDL_Keymod -> SDL_Keymod -> IO ()
(Ptr SDL_Keymod -> SDL_Keymod -> IO ()) -> WriteRaw SDL_Keymod
forall a. (Ptr a -> a -> IO ()) -> WriteRaw a
$cwriteRaw :: Ptr SDL_Keymod -> SDL_Keymod -> IO ()
writeRaw :: Ptr SDL_Keymod -> SDL_Keymod -> IO ()
Marshal.WriteRaw
, Integer -> SDL_Keymod
SDL_Keymod -> SDL_Keymod
SDL_Keymod -> SDL_Keymod -> SDL_Keymod
(SDL_Keymod -> SDL_Keymod -> SDL_Keymod)
-> (SDL_Keymod -> SDL_Keymod -> SDL_Keymod)
-> (SDL_Keymod -> SDL_Keymod -> SDL_Keymod)
-> (SDL_Keymod -> SDL_Keymod)
-> (SDL_Keymod -> SDL_Keymod)
-> (SDL_Keymod -> SDL_Keymod)
-> (Integer -> SDL_Keymod)
-> Num SDL_Keymod
forall a.
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> a)
-> (a -> a)
-> (Integer -> a)
-> Num a
$c+ :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
+ :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
$c- :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
- :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
$c* :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
* :: SDL_Keymod -> SDL_Keymod -> SDL_Keymod
$cnegate :: SDL_Keymod -> SDL_Keymod
negate :: SDL_Keymod -> SDL_Keymod
$cabs :: SDL_Keymod -> SDL_Keymod
abs :: SDL_Keymod -> SDL_Keymod
$csignum :: SDL_Keymod -> SDL_Keymod
signum :: SDL_Keymod -> SDL_Keymod
$cfromInteger :: Integer -> SDL_Keymod
fromInteger :: Integer -> SDL_Keymod
Num
, Num SDL_Keymod
Ord SDL_Keymod
(Num SDL_Keymod, Ord SDL_Keymod) =>
(SDL_Keymod -> Rational) -> Real SDL_Keymod
SDL_Keymod -> Rational
forall a. (Num a, Ord a) => (a -> Rational) -> Real a
$ctoRational :: SDL_Keymod -> Rational
toRational :: SDL_Keymod -> Rational
Real
)
instance
(ty ~ SDL3.Sys.Bindgen.Stdinc.Uint16)
=> BG.CompatHasField.HasField "unwrap" SDL_Keymod ty
where
hasField :: SDL_Keymod -> (ty -> SDL_Keymod, ty)
hasField =
\SDL_Keymod
x0 ->
( \ty
y1 ->
SDL_Keymod{unwrap :: Uint16
unwrap = ty
Uint16
y1}
, forall {k} (x :: k) r a. HasField x r a => r -> a
forall (x :: Symbol) r a. HasField x r a => r -> a
BG.getField @"unwrap" SDL_Keymod
x0
)
instance
(ty ~ SDL3.Sys.Bindgen.Stdinc.Uint16)
=> BG.HasField "unwrap" (BG.Ptr SDL_Keymod) (BG.Ptr ty)
where
getField :: Ptr SDL_Keymod -> Ptr ty
getField = Proxy "unwrap"
-> Ptr SDL_Keymod -> Ptr (CFieldType SDL_Keymod "unwrap")
forall a (field :: Symbol).
HasCField a field =>
Proxy field -> Ptr a -> Ptr (CFieldType a field)
HasCField.fromPtr (forall {k} (t :: k). Proxy t
forall (t :: Symbol). Proxy t
BG.Proxy @"unwrap")
instance HasCField.HasCField SDL_Keymod "unwrap" where
type
CFieldType SDL_Keymod "unwrap" =
SDL3.Sys.Bindgen.Stdinc.Uint16
offset# :: Proxy# SDL_Keymod -> Proxy# "unwrap" -> Int
offset# = \Proxy# SDL_Keymod
_ -> \Proxy# "unwrap"
_ -> Int
0
sDL_KMOD_NONE :: BG.CUInt
sDL_KMOD_NONE :: CUInt
sDL_KMOD_NONE = (CUInt
0 :: BG.CUInt)
sDL_KMOD_LSHIFT :: BG.CUInt
sDL_KMOD_LSHIFT :: CUInt
sDL_KMOD_LSHIFT = (CUInt
1 :: BG.CUInt)
sDL_KMOD_RSHIFT :: BG.CUInt
sDL_KMOD_RSHIFT :: CUInt
sDL_KMOD_RSHIFT = (CUInt
2 :: BG.CUInt)
sDL_KMOD_LEVEL5 :: BG.CUInt
sDL_KMOD_LEVEL5 :: CUInt
sDL_KMOD_LEVEL5 = (CUInt
4 :: BG.CUInt)
sDL_KMOD_LCTRL :: BG.CUInt
sDL_KMOD_LCTRL :: CUInt
sDL_KMOD_LCTRL = (CUInt
64 :: BG.CUInt)
sDL_KMOD_RCTRL :: BG.CUInt
sDL_KMOD_RCTRL :: CUInt
sDL_KMOD_RCTRL = (CUInt
128 :: BG.CUInt)
sDL_KMOD_LALT :: BG.CUInt
sDL_KMOD_LALT :: CUInt
sDL_KMOD_LALT = (CUInt
256 :: BG.CUInt)
sDL_KMOD_RALT :: BG.CUInt
sDL_KMOD_RALT :: CUInt
sDL_KMOD_RALT = (CUInt
512 :: BG.CUInt)
sDL_KMOD_LGUI :: BG.CUInt
sDL_KMOD_LGUI :: CUInt
sDL_KMOD_LGUI = (CUInt
1024 :: BG.CUInt)
sDL_KMOD_RGUI :: BG.CUInt
sDL_KMOD_RGUI :: CUInt
sDL_KMOD_RGUI = (CUInt
2048 :: BG.CUInt)
sDL_KMOD_NUM :: BG.CUInt
sDL_KMOD_NUM :: CUInt
sDL_KMOD_NUM = (CUInt
4096 :: BG.CUInt)
sDL_KMOD_CAPS :: BG.CUInt
sDL_KMOD_CAPS :: CUInt
sDL_KMOD_CAPS = (CUInt
8192 :: BG.CUInt)
sDL_KMOD_MODE :: BG.CUInt
sDL_KMOD_MODE :: CUInt
sDL_KMOD_MODE = (CUInt
16384 :: BG.CUInt)
sDL_KMOD_SCROLL :: BG.CUInt
sDL_KMOD_SCROLL :: CUInt
sDL_KMOD_SCROLL = (CUInt
32768 :: BG.CUInt)
sDL_KMOD_CTRL :: BG.CUInt
sDL_KMOD_CTRL :: CUInt
sDL_KMOD_CTRL =
CUInt -> CUInt -> BitsRes CUInt CUInt
forall a b. Bitwise a b => a -> b -> BitsRes a b
(C.Expr.HostPlatform..|.) CUInt
sDL_KMOD_LCTRL CUInt
sDL_KMOD_RCTRL
sDL_KMOD_SHIFT :: BG.CUInt
sDL_KMOD_SHIFT :: CUInt
sDL_KMOD_SHIFT =
CUInt -> CUInt -> BitsRes CUInt CUInt
forall a b. Bitwise a b => a -> b -> BitsRes a b
(C.Expr.HostPlatform..|.) CUInt
sDL_KMOD_LSHIFT CUInt
sDL_KMOD_RSHIFT
sDL_KMOD_ALT :: BG.CUInt
sDL_KMOD_ALT :: CUInt
sDL_KMOD_ALT =
CUInt -> CUInt -> BitsRes CUInt CUInt
forall a b. Bitwise a b => a -> b -> BitsRes a b
(C.Expr.HostPlatform..|.) CUInt
sDL_KMOD_LALT CUInt
sDL_KMOD_RALT
sDL_KMOD_GUI :: BG.CUInt
sDL_KMOD_GUI :: CUInt
sDL_KMOD_GUI =
CUInt -> CUInt -> BitsRes CUInt CUInt
forall a b. Bitwise a b => a -> b -> BitsRes a b
(C.Expr.HostPlatform..|.) CUInt
sDL_KMOD_LGUI CUInt
sDL_KMOD_RGUI