Updates to build fbdriver with current

This commit is contained in:
David Schmenk 2013-10-07 20:07:50 +00:00
parent 61df2a666c
commit dd05be98dc
2 changed files with 16 additions and 1 deletions

View File

@ -64,6 +64,13 @@ gsportx: $(OBJECTS) compile_time.o
mv gsportx ..
cp -f ../config.template ../config.txt
# Linux framebuffer builds:
gsportfb: $(OBJECTS) compile_time.o
$(CC) $(CCOPTS) $(LDOPTS) $(OBJECTS) compile_time.o $(LDFLAGS) -o $(NAME)$(SUFFIX) $(EXTRA_LIBS)
echo $(OBJECTS)
mv gsportfb ..
cp -f ../config.template ../config.txt
# Mingw32 (native windows) builds:
gsport.exe: $(OBJECTS) compile_time.o
g++ $(CCOPTS) $(LDOPTS) $(OBJECTS) compile_time.o $(LDFLAGS) -o $(NAME)$(SUFFIX) $(EXTRA_LIBS) -lwinmm -lgdi32 -ldsound -lcomctl32 -lws2_32 -lshell32

View File

@ -433,6 +433,13 @@ int x_calc_ratio(float x, float y)
{
return 1;
}
void clipboard_paste(void)
{
}
int clipboard_get_char(void)
{
return 0;
}
/*
* Input handling
*/
@ -472,8 +479,9 @@ void check_input_events(void)
if ((ev.code == KEY_F10) && SHIFT_DOWN)
{
//quitEmulator();
iwm_shut();
xdriver_end();
exit(0);
my_exit(1);
}
if (keycode_to_a2code[ev.code] >= 0)
adb_physical_key_update(keycode_to_a2code[ev.code], !ev.value);