diff options
author | Loïc Hoguin <[email protected]> | 2018-01-02 12:47:39 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-01-02 12:47:39 +0100 |
commit | b30bc1ccd23e909f281c742629281e822854e802 (patch) | |
tree | 6e9ee7f064626c121edfec2d1ca58acc21fa0b8b /src/sdl_keycode.erl | |
parent | 1284144bc49474dc2377047cdd99502247dbded2 (diff) | |
download | esdl2-b30bc1ccd23e909f281c742629281e822854e802.tar.gz esdl2-b30bc1ccd23e909f281c742629281e822854e802.tar.bz2 esdl2-b30bc1ccd23e909f281c742629281e822854e802.zip |
Add many events and event functions
Diffstat (limited to 'src/sdl_keycode.erl')
-rw-r--r-- | src/sdl_keycode.erl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/sdl_keycode.erl b/src/sdl_keycode.erl new file mode 100644 index 0000000..6ab1cf4 --- /dev/null +++ b/src/sdl_keycode.erl @@ -0,0 +1,19 @@ +%% Copyright (c) 2014-2017, Loïc Hoguin <[email protected]> +%% +%% Permission to use, copy, modify, and/or distribute this software for any +%% purpose with or without fee is hereby granted, provided that the above +%% copyright notice and this permission notice appear in all copies. +%% +%% THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +%% WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +%% MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +%% ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +%% WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +%% ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +%% OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +-module(sdl_keycode). + +-type keymod() :: left_shift | right_shift | left_ctrl | right_ctrl + | left_alt | right_alt | left_gui | right_gui | num | caps | mode. +-export_type([keymod/0]). |