Little tuto to emulate Touch Screen with Xbox 360 for The Legend of Zelda Ocarina of Time
Download GlovePIE : https://glovepie.en.softonic.com/
copy this script in GlovePIE and RUN the script before playing :
> //Zelda OoT 360 controller and touch screen
>
>
> var.XMod = Screen.DesktopWidth/2560
> var.YMod = Screen.DesktopHeight/1440
>
>
> //Right to "ITEMS"
> if Xinput.Right then {
> //CHANGE THESE X AND Y CORDS TO CLICK WHEREVER YOU WANT!!
> Mouse.CursorPosX = 2430*var.XMod
> Mouse.CursorPosY = 1340*var.YMod
> Mouse.LeftButton = 1
> }else {
> Mouse.LeftButton = 0
> key.m = 0
> }
>
> //Up to "MAP"
> if Xinput.Up then {
> //CHANGE THESE X AND Y CORDS TO CLICK WHEREVER YOU WANT!!
> Mouse.CursorPosX = 2345*var.XMod
> Mouse.CursorPosY = 1340*var.YMod
> Mouse.LeftButton = 1
> }else {
> Mouse.LeftButton = 0
> key.m = 0
> }
>
> //Left to "GEAR"
> if Xinput.Left then {
> //CHANGE THESE X AND Y CORDS TO CLICK WHEREVER YOU WANT!!
> Mouse.CursorPosX = 2260*var.XMod
> Mouse.CursorPosY = 1340*var.YMod
> Mouse.LeftButton = 1
> }else {
> Mouse.LeftButton = 0
> key.m = 0
> }
>
>
>
>
>
> //LB to I slot select
> if Xinput.LeftShoulder then {
> //CHANGE THESE X AND Y CORDS TO CLICK WHEREVER YOU WANT!!
> Mouse.CursorPosX = 2525*var.XMod
> Mouse.CursorPosY = 1075*var.YMod
> Mouse.LeftButton = 1
> }else {
> Mouse.LeftButton = 0
> key.m = 0
> }
>
> //RB to II slot select
> if Xinput.RightShoulder then {
> //CHANGE THESE X AND Y CORDS TO CLICK WHEREVER YOU WANT!!
> Mouse.CursorPosX = 2525*var.XMod
> Mouse.CursorPosY = 1320*var.YMod
> Mouse.LeftButton = 1
> }else {
> Mouse.LeftButton = 0
> key.m = 0
> }
>
>
> //Left thumb click ocarina
> if Xinput.LeftThumb then {
> //CHANGE THESE X AND Y CORDS TO CLICK WHEREVER YOU WANT!!
> Mouse.CursorPosX = 2170*var.XMod
> Mouse.CursorPosY = 1320*var.YMod
> Mouse.LeftButton = 1
> }else {
> Mouse.LeftButton = 0
> key.m = 0
> }
>
> //Right thumb click to "VIEW" icon
> if Xinput.RightThumb then {
> //CHANGE THESE X AND Y CORDS TO CLICK WHEREVER YOU WANT!!
> Mouse.CursorPosX = 2170*var.XMod
> Mouse.CursorPosY = 1080*var.YMod
> Mouse.LeftButton = 1
> }else {
> Mouse.LeftButton = 0
> key.m = 0
> }
Here for 2560/1440 display resolution. If you want to change reso, change the X-Y of each input with AutoIt : https://www.autoitscript.com/site/autoit/ to have the exact coordonate of your mouse.
You must play with large screen and fullscreen. No need to change the input in citra