mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-18 18:05:21 +00:00
Handle SDL scancode -> Mac keycode map files
This commit is contained in:
parent
1d86d66bd7
commit
4b7c7d22a1
@ -11,6 +11,8 @@ datadir = @datadir@
|
||||
mandir = @mandir@
|
||||
man1dir = $(mandir)/man1
|
||||
|
||||
KEYCODES = @KEYCODES@
|
||||
|
||||
DESTDIR =
|
||||
|
||||
CC = @CC@
|
||||
@ -70,7 +72,7 @@ modules:
|
||||
install: $(APP) installdirs
|
||||
$(INSTALL_PROGRAM) $(APP) $(DESTDIR)$(bindir)/$(APP)
|
||||
-$(INSTALL_DATA) $(APP).1 $(DESTDIR)$(man1dir)/$(APP).1
|
||||
$(INSTALL_DATA) keycodes $(DESTDIR)$(datadir)/$(APP)/keycodes
|
||||
$(INSTALL_DATA) $(KEYCODES) $(DESTDIR)$(datadir)/$(APP)/keycodes
|
||||
$(INSTALL_DATA) fbdevices $(DESTDIR)$(datadir)/$(APP)/fbdevices
|
||||
$(INSTALL_DATA) tunconfig $(DESTDIR)$(datadir)/$(APP)/tunconfig
|
||||
|
||||
|
@ -420,8 +420,10 @@ fi
|
||||
if [[ "x$WANT_SDL_VIDEO" = "xyes" ]]; then
|
||||
VIDEOSRCS="../SDL/video_sdl.cpp ../dummy/clip_dummy.cpp"
|
||||
AC_DEFINE(USE_SDL_VIDEO, 1, [Define to enable SDL video graphics support])
|
||||
KEYCODES="../SDL/keycodes"
|
||||
else
|
||||
VIDEOSRCS="video_x.cpp clip_unix.cpp"
|
||||
KEYCODES="keycodes"
|
||||
fi
|
||||
|
||||
dnl Use 68k CPU natively?
|
||||
@ -1235,6 +1237,7 @@ AC_SUBST(SYSSRCS)
|
||||
AC_SUBST(CPUINCLUDES)
|
||||
AC_SUBST(CPUSRCS)
|
||||
AC_SUBST(BLESS)
|
||||
AC_SUBST(KEYCODES)
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_OUTPUT
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user