From b59859784f3d86b70fbf024fcce878c44a92d9e8 Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Mon, 5 Oct 2009 08:12:50 +0000 Subject: git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@31115 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/dfinput/dfinput.glade2 | 68 +++++++++++++++++++++++++++--------------- plugins/dfinput/pad.c | 8 +++-- 2 files changed, 50 insertions(+), 26 deletions(-) (limited to 'plugins/dfinput') diff --git a/plugins/dfinput/dfinput.glade2 b/plugins/dfinput/dfinput.glade2 index b6905f2e..d98fcbd7 100644 --- a/plugins/dfinput/dfinput.glade2 +++ b/plugins/dfinput/dfinput.glade2 @@ -1,19 +1,22 @@ - - - + + + True Configure Gamepad/Keyboard True + dialog True 6 + vertical 6 True + vertical True @@ -27,15 +30,16 @@ False False + 0 + 1 True True - 1 + False True - 0 True @@ -46,11 +50,11 @@ + 2 True True - 2 + False True - 0 True radiobutton1 @@ -61,6 +65,9 @@ + + 0 + @@ -75,13 +82,13 @@ False False + 0 True True - * 1 @@ -99,25 +106,26 @@ 6 + Multi-threaded True True - Multi-threaded + False True - 0 True False False + 0 + Analog True True - Analog + False True - 0 True @@ -135,7 +143,7 @@ True 0 - GTK_SHADOW_OUT + out True @@ -165,32 +173,42 @@ + + 0 + True 6 - GTK_BUTTONBOX_END + end + gtk-cancel True True True - gtk-cancel + False True - 0 + + False + False + 0 + + gtk-ok True True True - gtk-ok + False True - 0 + False + False 1 @@ -205,19 +223,21 @@ True - GDK_WINDOW_TYPE_HINT_NORMAL - Based on PadJoy by Erich Kitzmüller (ammoq@ammoq.com) - Erich Kitzmüller (ammoq@ammoq.com) + center + normal + Based on PadJoy by Erich Kitzmüller (ammoq@ammoq.com) + Erich Kitzmüller (ammoq@ammoq.com) Andrew Burton (adb@iinet.net.au) translator-credits + vertical - - + False - GTK_PACK_END + end + 0 diff --git a/plugins/dfinput/pad.c b/plugins/dfinput/pad.c index 4d17cf24..784b8ee3 100644 --- a/plugins/dfinput/pad.c +++ b/plugins/dfinput/pad.c @@ -956,7 +956,9 @@ static void loadConfig() { } long PADconfigure(void) { - system("cfg/cfgDFInput"); + if (fork() == 0) { + execl("cfg/cfgDFInput", "cfgDFInput", NULL); + } return 0; } @@ -967,7 +969,9 @@ long PADconfigure(void) { void PADabout(void) { - system("cfg/cfgDFInput -about"); + if (fork() == 0) { + execl("cfg/cfgDFInput", "cfgDFInput", "-about", NULL); + } } #ifdef __linux__ -- cgit v1.2.3