From b6a0bd2d95bf3790afc5e90abb9334cdbed0bad5 Mon Sep 17 00:00:00 2001 From: Alprnn357 <37711793+Alprnn357@users.noreply.github.com> Date: Wed, 15 Nov 2023 21:28:23 +0300 Subject: [PATCH] Fix using menus with cursor --- 3rdparty/cs16client-extras/touch/buy.cfg | 3 ++- 3rdparty/cs16client-extras/touch/buy_item_ct.cfg | 3 ++- 3rdparty/cs16client-extras/touch/buy_item_t.cfg | 3 ++- 3rdparty/cs16client-extras/touch/buy_machinegun_ct.cfg | 3 ++- 3rdparty/cs16client-extras/touch/buy_machinegun_t.cfg | 3 ++- 3rdparty/cs16client-extras/touch/buy_pistol_ct.cfg | 3 ++- 3rdparty/cs16client-extras/touch/buy_pistol_t.cfg | 3 ++- 3rdparty/cs16client-extras/touch/buy_rifle_ct.cfg | 3 ++- 3rdparty/cs16client-extras/touch/buy_rifle_t.cfg | 3 ++- 3rdparty/cs16client-extras/touch/buy_shotgun_ct.cfg | 3 ++- 3rdparty/cs16client-extras/touch/buy_shotgun_t.cfg | 3 ++- 3rdparty/cs16client-extras/touch/buy_submachinegun_ct.cfg | 3 ++- 3rdparty/cs16client-extras/touch/buy_submachinegun_t.cfg | 3 ++- 3rdparty/cs16client-extras/touch/chooseteam.cfg | 3 ++- 3rdparty/cs16client-extras/touch/chooseteam_ct.cfg | 3 ++- 3rdparty/cs16client-extras/touch/chooseteam_tr.cfg | 3 ++- 3rdparty/cs16client-extras/touch/customcmd.cfg | 3 ++- 17 files changed, 34 insertions(+), 17 deletions(-) diff --git a/3rdparty/cs16client-extras/touch/buy.cfg b/3rdparty/cs16client-extras/touch/buy.cfg index fbc82ec9..9e5d9fb1 100644 --- a/3rdparty/cs16client-extras/touch/buy.cfg +++ b/3rdparty/cs16client-extras/touch/buy.cfg @@ -3,6 +3,7 @@ //======================================================================= touch_setclientonly 1 +touch_emulate 1 cmd_scripting 1 touch_set_stroke 1 156 77 20 200 touch_addbutton "_menu_corner1" "gfx/vgui/round_corner_ne.tga" "" 0.960000 0.034043 0.980000 0.068085 255 255 255 186 6 @@ -16,7 +17,7 @@ touch_addbutton "_menu_corner9" "gfx/vgui/round_corner_nw.tga" "" 0.020000 0.034 touch_addbutton "_menu_corner10" "gfx/vgui/CS_logo.tga" "" 0.022811 0.041790 0.080802 0.131169 255 174 0 255 6 alias _erase_frame "touch_removebutton _menu_*; _menu_off; unalias _erase_frame" -alias _menu_off "touch_setclientonly 0" +alias _menu_off "touch_setclientonly 0; touch_emulate 0" alias _click_cnd "play media/launch_select1.wav; vibrate 30" alias _click_cnd_back "play media/launch_upmenu1.wav; vibrate 30" diff --git a/3rdparty/cs16client-extras/touch/buy_item_ct.cfg b/3rdparty/cs16client-extras/touch/buy_item_ct.cfg index 703e6653..a9902c16 100644 --- a/3rdparty/cs16client-extras/touch/buy_item_ct.cfg +++ b/3rdparty/cs16client-extras/touch/buy_item_ct.cfg @@ -3,6 +3,7 @@ //======================================================================= touch_setclientonly 1 +touch_emulate 1 cmd_scripting 1 touch_set_stroke 1 156 77 20 200 touch_addbutton "_menu_corner1" "gfx/vgui/round_corner_ne.tga" "" 0.960000 0.034043 0.980000 0.068085 255 255 255 186 6 @@ -16,7 +17,7 @@ touch_addbutton "_menu_corner9" "gfx/vgui/round_corner_nw.tga" "" 0.020000 0.034 touch_addbutton "_menu_corner10" "gfx/vgui/CS_logo.tga" "" 0.022811 0.041790 0.080802 0.131169 255 174 0 255 6 alias _erase_frame "touch_removebutton _menu_*; _menu_off; unalias _erase_frame" -alias _menu_off "touch_setclientonly 0" +alias _menu_off "touch_setclientonly 0; touch_emulate 0" alias _click_cnd "play media/launch_select1.wav; vibrate 30" alias _click_cnd_back "play media/launch_upmenu1.wav; vibrate 30" diff --git a/3rdparty/cs16client-extras/touch/buy_item_t.cfg b/3rdparty/cs16client-extras/touch/buy_item_t.cfg index 9274270d..6e1e7d28 100644 --- a/3rdparty/cs16client-extras/touch/buy_item_t.cfg +++ b/3rdparty/cs16client-extras/touch/buy_item_t.cfg @@ -3,6 +3,7 @@ //======================================================================= touch_setclientonly 1 +touch_emulate 1 cmd_scripting 1 touch_set_stroke 1 156 77 20 200 touch_addbutton "_menu_corner1" "gfx/vgui/round_corner_ne.tga" "" 0.960000 0.034043 0.980000 0.068085 255 255 255 186 6 @@ -16,7 +17,7 @@ touch_addbutton "_menu_corner9" "gfx/vgui/round_corner_nw.tga" "" 0.020000 0.034 touch_addbutton "_menu_corner10" "gfx/vgui/CS_logo.tga" "" 0.022811 0.041790 0.080802 0.131169 255 174 0 255 6 alias _erase_frame "touch_removebutton _menu_*; _menu_off; unalias _erase_frame" -alias _menu_off "touch_setclientonly 0" +alias _menu_off "touch_setclientonly 0; touch_emulate 0" alias _click_cnd "play media/launch_select1.wav ;vibrate 30" alias _click_cnd_back "play media/launch_upmenu1.wav ;vibrate 30" diff --git a/3rdparty/cs16client-extras/touch/buy_machinegun_ct.cfg b/3rdparty/cs16client-extras/touch/buy_machinegun_ct.cfg index 90b44a5e..e5dc99ac 100644 --- a/3rdparty/cs16client-extras/touch/buy_machinegun_ct.cfg +++ b/3rdparty/cs16client-extras/touch/buy_machinegun_ct.cfg @@ -3,6 +3,7 @@ //======================================================================= touch_setclientonly 1 +touch_emulate 1 cmd_scripting 1 touch_set_stroke 1 156 77 20 200 touch_addbutton "_menu_corner1" "gfx/vgui/round_corner_ne.tga" "" 0.960000 0.034043 0.980000 0.068085 255 255 255 186 6 @@ -16,7 +17,7 @@ touch_addbutton "_menu_corner9" "gfx/vgui/round_corner_nw.tga" "" 0.020000 0.034 touch_addbutton "_menu_corner10" "gfx/vgui/CS_logo.tga" "" 0.022811 0.041790 0.080802 0.131169 255 174 0 255 6 alias _erase_frame "touch_removebutton _menu_*; _menu_off; unalias _erase_frame" -alias _menu_off "touch_setclientonly 0" +alias _menu_off "touch_setclientonly 0; touch_emulate 0" alias _click_cnd "play media/launch_select1.wav ;vibrate 30" alias _click_cnd_back "play media/launch_upmenu1.wav ;vibrate 30" diff --git a/3rdparty/cs16client-extras/touch/buy_machinegun_t.cfg b/3rdparty/cs16client-extras/touch/buy_machinegun_t.cfg index 90b44a5e..e5dc99ac 100644 --- a/3rdparty/cs16client-extras/touch/buy_machinegun_t.cfg +++ b/3rdparty/cs16client-extras/touch/buy_machinegun_t.cfg @@ -3,6 +3,7 @@ //======================================================================= touch_setclientonly 1 +touch_emulate 1 cmd_scripting 1 touch_set_stroke 1 156 77 20 200 touch_addbutton "_menu_corner1" "gfx/vgui/round_corner_ne.tga" "" 0.960000 0.034043 0.980000 0.068085 255 255 255 186 6 @@ -16,7 +17,7 @@ touch_addbutton "_menu_corner9" "gfx/vgui/round_corner_nw.tga" "" 0.020000 0.034 touch_addbutton "_menu_corner10" "gfx/vgui/CS_logo.tga" "" 0.022811 0.041790 0.080802 0.131169 255 174 0 255 6 alias _erase_frame "touch_removebutton _menu_*; _menu_off; unalias _erase_frame" -alias _menu_off "touch_setclientonly 0" +alias _menu_off "touch_setclientonly 0; touch_emulate 0" alias _click_cnd "play media/launch_select1.wav ;vibrate 30" alias _click_cnd_back "play media/launch_upmenu1.wav ;vibrate 30" diff --git a/3rdparty/cs16client-extras/touch/buy_pistol_ct.cfg b/3rdparty/cs16client-extras/touch/buy_pistol_ct.cfg index 38f2f31c..805d1f91 100644 --- a/3rdparty/cs16client-extras/touch/buy_pistol_ct.cfg +++ b/3rdparty/cs16client-extras/touch/buy_pistol_ct.cfg @@ -3,6 +3,7 @@ //======================================================================= touch_setclientonly 1 +touch_emulate 1 cmd_scripting 1 touch_set_stroke 1 156 77 20 200 touch_addbutton "_menu_corner1" "gfx/vgui/round_corner_ne.tga" "" 0.960000 0.034043 0.980000 0.068085 255 255 255 186 6 @@ -16,7 +17,7 @@ touch_addbutton "_menu_corner9" "gfx/vgui/round_corner_nw.tga" "" 0.020000 0.034 touch_addbutton "_menu_corner10" "gfx/vgui/CS_logo.tga" "" 0.022811 0.041790 0.080802 0.131169 255 174 0 255 6 alias _erase_frame "touch_removebutton _menu_*; _menu_off; unalias _erase_frame" -alias _menu_off "touch_setclientonly 0" +alias _menu_off "touch_setclientonly 0; touch_emulate 0" alias _click_cnd "play media/launch_select1.wav ;vibrate 30" alias _click_cnd_back "play media/launch_upmenu1.wav ;vibrate 30" diff --git a/3rdparty/cs16client-extras/touch/buy_pistol_t.cfg b/3rdparty/cs16client-extras/touch/buy_pistol_t.cfg index a04450be..6d98b86f 100644 --- a/3rdparty/cs16client-extras/touch/buy_pistol_t.cfg +++ b/3rdparty/cs16client-extras/touch/buy_pistol_t.cfg @@ -3,6 +3,7 @@ //======================================================================= touch_setclientonly 1 +touch_emulate 1 cmd_scripting 1 touch_set_stroke 1 156 77 20 200 touch_addbutton "_menu_corner1" "gfx/vgui/round_corner_ne.tga" "" 0.960000 0.034043 0.980000 0.068085 255 255 255 186 6 @@ -16,7 +17,7 @@ touch_addbutton "_menu_corner9" "gfx/vgui/round_corner_nw.tga" "" 0.020000 0.034 touch_addbutton "_menu_corner10" "gfx/vgui/CS_logo.tga" "" 0.022811 0.041790 0.080802 0.131169 255 174 0 255 6 alias _erase_frame "touch_removebutton _menu_*; _menu_off; unalias _erase_frame" -alias _menu_off "touch_setclientonly 0" +alias _menu_off "touch_setclientonly 0; touch_emulate 0" alias _click_cnd "play media/launch_select1.wav ;vibrate 30" alias _click_cnd_back "play media/launch_upmenu1.wav ;vibrate 30" diff --git a/3rdparty/cs16client-extras/touch/buy_rifle_ct.cfg b/3rdparty/cs16client-extras/touch/buy_rifle_ct.cfg index 45ba40d5..7212bce2 100644 --- a/3rdparty/cs16client-extras/touch/buy_rifle_ct.cfg +++ b/3rdparty/cs16client-extras/touch/buy_rifle_ct.cfg @@ -3,6 +3,7 @@ //======================================================================= touch_setclientonly 1 +touch_emulate 1 cmd_scripting 1 touch_set_stroke 1 156 77 20 200 touch_addbutton "_menu_corner1" "gfx/vgui/round_corner_ne.tga" "" 0.960000 0.034043 0.980000 0.068085 255 255 255 186 6 @@ -16,7 +17,7 @@ touch_addbutton "_menu_corner9" "gfx/vgui/round_corner_nw.tga" "" 0.020000 0.034 touch_addbutton "_menu_corner10" "gfx/vgui/CS_logo.tga" "" 0.022811 0.041790 0.080802 0.131169 255 174 0 255 6 alias _erase_frame "touch_removebutton _menu_*; _menu_off; unalias _erase_frame" -alias _menu_off "touch_setclientonly 0" +alias _menu_off "touch_setclientonly 0; touch_emulate 0" alias _click_cnd "play media/launch_select1.wav ;vibrate 30" alias _click_cnd_back "play media/launch_upmenu1.wav ;vibrate 30" diff --git a/3rdparty/cs16client-extras/touch/buy_rifle_t.cfg b/3rdparty/cs16client-extras/touch/buy_rifle_t.cfg index 064a004a..bd4fdb2d 100644 --- a/3rdparty/cs16client-extras/touch/buy_rifle_t.cfg +++ b/3rdparty/cs16client-extras/touch/buy_rifle_t.cfg @@ -3,6 +3,7 @@ //======================================================================= touch_setclientonly 1 +touch_emulate 1 cmd_scripting 1 touch_set_stroke 1 156 77 20 200 touch_addbutton "_menu_corner1" "gfx/vgui/round_corner_ne.tga" "" 0.960000 0.034043 0.980000 0.068085 255 255 255 186 6 @@ -16,7 +17,7 @@ touch_addbutton "_menu_corner9" "gfx/vgui/round_corner_nw.tga" "" 0.020000 0.034 touch_addbutton "_menu_corner10" "gfx/vgui/CS_logo.tga" "" 0.022811 0.041790 0.080802 0.131169 255 174 0 255 6 alias _erase_frame "touch_removebutton _menu_*; _menu_off; unalias _erase_frame" -alias _menu_off "touch_setclientonly 0" +alias _menu_off "touch_setclientonly 0; touch_emulate 0" alias _click_cnd "play media/launch_select1.wav ;vibrate 30" alias _click_cnd_back "play media/launch_upmenu1.wav ;vibrate 30" diff --git a/3rdparty/cs16client-extras/touch/buy_shotgun_ct.cfg b/3rdparty/cs16client-extras/touch/buy_shotgun_ct.cfg index ed4a68c4..922fa477 100644 --- a/3rdparty/cs16client-extras/touch/buy_shotgun_ct.cfg +++ b/3rdparty/cs16client-extras/touch/buy_shotgun_ct.cfg @@ -3,6 +3,7 @@ //======================================================================= touch_setclientonly 1 +touch_emulate 1 cmd_scripting 1 touch_set_stroke 1 156 77 20 200 touch_addbutton "_menu_corner1" "gfx/vgui/round_corner_ne.tga" "" 0.960000 0.034043 0.980000 0.068085 255 255 255 186 6 @@ -16,7 +17,7 @@ touch_addbutton "_menu_corner9" "gfx/vgui/round_corner_nw.tga" "" 0.020000 0.034 touch_addbutton "_menu_corner10" "gfx/vgui/CS_logo.tga" "" 0.022811 0.041790 0.080802 0.131169 255 174 0 255 6 alias _erase_frame "touch_removebutton _menu_*; _menu_off; unalias _erase_frame" -alias _menu_off "touch_setclientonly 0" +alias _menu_off "touch_setclientonly 0; touch_emulate 0" alias _click_cnd "play media/launch_select1.wav ;vibrate 30" alias _click_cnd_back "play media/launch_upmenu1.wav ;vibrate 30" diff --git a/3rdparty/cs16client-extras/touch/buy_shotgun_t.cfg b/3rdparty/cs16client-extras/touch/buy_shotgun_t.cfg index ed4a68c4..922fa477 100644 --- a/3rdparty/cs16client-extras/touch/buy_shotgun_t.cfg +++ b/3rdparty/cs16client-extras/touch/buy_shotgun_t.cfg @@ -3,6 +3,7 @@ //======================================================================= touch_setclientonly 1 +touch_emulate 1 cmd_scripting 1 touch_set_stroke 1 156 77 20 200 touch_addbutton "_menu_corner1" "gfx/vgui/round_corner_ne.tga" "" 0.960000 0.034043 0.980000 0.068085 255 255 255 186 6 @@ -16,7 +17,7 @@ touch_addbutton "_menu_corner9" "gfx/vgui/round_corner_nw.tga" "" 0.020000 0.034 touch_addbutton "_menu_corner10" "gfx/vgui/CS_logo.tga" "" 0.022811 0.041790 0.080802 0.131169 255 174 0 255 6 alias _erase_frame "touch_removebutton _menu_*; _menu_off; unalias _erase_frame" -alias _menu_off "touch_setclientonly 0" +alias _menu_off "touch_setclientonly 0; touch_emulate 0" alias _click_cnd "play media/launch_select1.wav ;vibrate 30" alias _click_cnd_back "play media/launch_upmenu1.wav ;vibrate 30" diff --git a/3rdparty/cs16client-extras/touch/buy_submachinegun_ct.cfg b/3rdparty/cs16client-extras/touch/buy_submachinegun_ct.cfg index 8a3b666c..9f2b3777 100644 --- a/3rdparty/cs16client-extras/touch/buy_submachinegun_ct.cfg +++ b/3rdparty/cs16client-extras/touch/buy_submachinegun_ct.cfg @@ -3,6 +3,7 @@ //======================================================================= touch_setclientonly 1 +touch_emulate 1 cmd_scripting 1 touch_set_stroke 1 156 77 20 200 touch_addbutton "_menu_corner1" "gfx/vgui/round_corner_ne.tga" "" 0.960000 0.034043 0.980000 0.068085 255 255 255 186 6 @@ -16,7 +17,7 @@ touch_addbutton "_menu_corner9" "gfx/vgui/round_corner_nw.tga" "" 0.020000 0.034 touch_addbutton "_menu_corner10" "gfx/vgui/CS_logo.tga" "" 0.022811 0.041790 0.080802 0.131169 255 174 0 255 6 alias _erase_frame "touch_removebutton _menu_*; _menu_off; unalias _erase_frame" -alias _menu_off "touch_setclientonly 0" +alias _menu_off "touch_setclientonly 0; touch_emulate 0" alias _click_cnd "play media/launch_select1.wav ;vibrate 30" alias _click_cnd_back "play media/launch_upmenu1.wav ;vibrate 30" diff --git a/3rdparty/cs16client-extras/touch/buy_submachinegun_t.cfg b/3rdparty/cs16client-extras/touch/buy_submachinegun_t.cfg index b6f924ab..577892d9 100644 --- a/3rdparty/cs16client-extras/touch/buy_submachinegun_t.cfg +++ b/3rdparty/cs16client-extras/touch/buy_submachinegun_t.cfg @@ -3,6 +3,7 @@ //======================================================================= touch_setclientonly 1 +touch_emulate 1 cmd_scripting 1 touch_set_stroke 1 156 77 20 200 touch_addbutton "_menu_corner1" "gfx/vgui/round_corner_ne.tga" "" 0.960000 0.034043 0.980000 0.068085 255 255 255 186 6 @@ -16,7 +17,7 @@ touch_addbutton "_menu_corner9" "gfx/vgui/round_corner_nw.tga" "" 0.020000 0.034 touch_addbutton "_menu_corner10" "gfx/vgui/CS_logo.tga" "" 0.022811 0.041790 0.080802 0.131169 255 174 0 255 6 alias _erase_frame "touch_removebutton _menu_*; _menu_off; unalias _erase_frame" -alias _menu_off "touch_setclientonly 0" +alias _menu_off "touch_setclientonly 0; touch_emulate 0" alias _click_cnd "play media/launch_select1.wav ;vibrate 30" alias _click_cnd_back "play media/launch_upmenu1.wav ;vibrate 30" diff --git a/3rdparty/cs16client-extras/touch/chooseteam.cfg b/3rdparty/cs16client-extras/touch/chooseteam.cfg index 1e2f7154..4a3de867 100644 --- a/3rdparty/cs16client-extras/touch/chooseteam.cfg +++ b/3rdparty/cs16client-extras/touch/chooseteam.cfg @@ -3,6 +3,7 @@ //======================================================================= touch_setclientonly 1 +touch_emulate 1 touch_set_stroke 1 156 77 20 200 touch_addbutton "_menu_corner1" "gfx/vgui/round_corner_ne.tga" "" 0.960000 0.034043 0.980000 0.068085 255 255 255 186 6 touch_addbutton "_menu_corner2" "gfx/vgui/round_corner_sw.tga" "" 0.020000 0.936170 0.040000 0.970213 255 255 255 186 6 @@ -15,7 +16,7 @@ touch_addbutton "_menu_corner9" "gfx/vgui/round_corner_nw.tga" "" 0.020000 0.034 touch_addbutton "_menu_corner10" "gfx/vgui/CS_logo.tga" "" 0.022811 0.041790 0.080802 0.131169 255 174 0 255 6 alias _erase_frame "touch_removebutton _menu_*; _menu_off; unalias _erase_frame" -alias _menu_off "touch_setclientonly 0" +alias _menu_off "touch_setclientonly 0; touch_emulate 0" alias _click_cnd "play media/launch_select1.wav ;vibrate 30" alias _click_cnd_back "play media/launch_upmenu1.wav ;vibrate 30" diff --git a/3rdparty/cs16client-extras/touch/chooseteam_ct.cfg b/3rdparty/cs16client-extras/touch/chooseteam_ct.cfg index 80197af1..c970c314 100644 --- a/3rdparty/cs16client-extras/touch/chooseteam_ct.cfg +++ b/3rdparty/cs16client-extras/touch/chooseteam_ct.cfg @@ -3,6 +3,7 @@ //======================================================================= touch_setclientonly 1 +touch_emulate 1 touch_set_stroke 1 156 77 20 200 touch_addbutton "_menu_corner1" "gfx/vgui/round_corner_ne.tga" "" 0.960000 0.034043 0.980000 0.068085 255 255 255 186 6 touch_addbutton "_menu_corner2" "gfx/vgui/round_corner_sw.tga" "" 0.020000 0.936170 0.040000 0.970213 255 255 255 186 6 @@ -15,7 +16,7 @@ touch_addbutton "_menu_corner9" "gfx/vgui/round_corner_nw.tga" "" 0.020000 0.034 touch_addbutton "_menu_corner10" "gfx/vgui/CS_logo.tga" "" 0.022811 0.041790 0.080802 0.131169 255 174 0 255 6 alias _erase_frame "touch_removebutton _menu_*; _menu_off; unalias _erase_frame" -alias _menu_off "touch_setclientonly 0" +alias _menu_off "touch_setclientonly 0; touch_emulate 0" alias _click_cnd "play media/launch_select1.wav ;vibrate 30" alias _click_cnd_back "play media/launch_upmenu1.wav ;vibrate 30" diff --git a/3rdparty/cs16client-extras/touch/chooseteam_tr.cfg b/3rdparty/cs16client-extras/touch/chooseteam_tr.cfg index b47d971a..fed37cb9 100644 --- a/3rdparty/cs16client-extras/touch/chooseteam_tr.cfg +++ b/3rdparty/cs16client-extras/touch/chooseteam_tr.cfg @@ -3,6 +3,7 @@ //======================================================================= touch_setclientonly 1 +touch_emulate 1 touch_set_stroke 1 156 77 20 200 touch_addbutton "_menu_corner1" "gfx/vgui/round_corner_ne.tga" "" 0.960000 0.034043 0.980000 0.068085 255 255 255 186 6 touch_addbutton "_menu_corner2" "gfx/vgui/round_corner_sw.tga" "" 0.020000 0.936170 0.040000 0.970213 255 255 255 186 6 @@ -15,7 +16,7 @@ touch_addbutton "_menu_corner9" "gfx/vgui/round_corner_nw.tga" "" 0.020000 0.034 touch_addbutton "_menu_corner10" "gfx/vgui/CS_logo.tga" "" 0.022811 0.041790 0.080802 0.131169 255 174 0 255 6 alias _erase_frame "touch_removebutton _menu_*; _menu_off; unalias _erase_frame" -alias _menu_off "touch_setclientonly 0" +alias _menu_off "touch_setclientonly 0; touch_emulate 0" alias _click_cnd "play media/launch_select1.wav ;vibrate 30" alias _click_cnd_back "play media/launch_upmenu1.wav ;vibrate 30" diff --git a/3rdparty/cs16client-extras/touch/customcmd.cfg b/3rdparty/cs16client-extras/touch/customcmd.cfg index 05f8a191..a7b8b3c9 100644 --- a/3rdparty/cs16client-extras/touch/customcmd.cfg +++ b/3rdparty/cs16client-extras/touch/customcmd.cfg @@ -1,10 +1,11 @@ cmd_scripting 1 //touch_setclientonly 1 +touch_emulate 1 touch_set_stroke 1 156 77 20 200 if "$touch_move_indicator > 0" :set touch_indicator_value "$touch_move_indicator" :set touch_move_indicator 0 -alias _erase_frame "touch_removebutton _menu_*; touch_setclientonly 0; set touch_move_indicator $touch_indicator_value; unalias _erase_frame" +alias _erase_frame "touch_removebutton _menu_*; touch_setclientonly 0; touch_emulate 0; set touch_move_indicator $touch_indicator_value; unalias _erase_frame" alias _click_cnd "play media/launch_select1.wav; vibrate 30" alias _click_cnd_back "play media/launch_upmenu1.wav; vibrate 30" touch_addbutton "_menu_look" "" "_look" 0.5 0 1 1 0 0 0 0 6