|
|
1.1 ! root 1: /* ! 2: * UAE - The Un*x Amiga Emulator ! 3: * ! 4: * SDL graphics support ! 5: * ! 6: * Copyright 2004 Richard Drummond ! 7: */ ! 8: ! 9: /* ! 10: * What graphics platform are we running on . . .? ! 11: * ! 12: * Yes, SDL is supposed to abstract away from the underlying ! 13: * platform, but we need to know this to be able to map raw keys ! 14: * and to work around any platform-specific quirks . . . ! 15: */ ! 16: enum { ! 17: SDLGFX_DRIVER_UNKNOWN, ! 18: SDLGFX_DRIVER_X11, ! 19: SDLGFX_DRIVER_DGA, ! 20: SDLGFX_DRIVER_SVGALIB, ! 21: SDLGFX_DRIVER_FBCON, ! 22: SDLGFX_DRIVER_DIRECTFB, ! 23: SDLGFX_DRIVER_QUARTZ, ! 24: SDLGFX_DRIVER_BWINDOW, ! 25: SDLGFX_DRIVER_CYBERGFX, ! 26: SDLGFX_DRIVER_AMIGAOS4 ! 27: }; ! 28: ! 29: extern int get_sdlgfx_type (void); ! 30: ! 31: /* keyboard support */ ! 32: struct uae_input_device_kbr_default *get_default_raw_keymap (int type); ! 33: extern int keysym2amiga (int keycode); ! 34: int modifier_hack (int *scancode, int *pressed); ! 35: ! 36: /* hotkey support */ ! 37: struct uae_hotkeyseq *get_default_cooked_hotkeys (void); ! 38: struct uae_hotkeyseq *get_default_raw_hotkeys (void);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.