Can't use touch screen

Issue:
When emulating a game I’ll try to use the touch screen (like on the 3ds) with my mouse and it wont work
System Information

  • Operating System: Windows 10
  • CPU: Intel core i7-4600U
  • GPU: Intel HD graphics
  • Citra Version (found in title bar): nightly build e1bb198
  • Game: any game
  • Screenshot of Issue (include the full Citra window including titlebar):

Log:

[ 0.000001] Common.Filesystem common/file_util.cpp:GetUserPath:695: Using the local user directory
[ 0.002092] Config citra/config.cpp:LoadINI:40: Successfully loaded D:\Home stuff\nightly-mingw/user/config/sdl2-config.ini
[ 0.023109] Audio audio_core/sink_details.cpp:GetSinkDetails:32: AudioCore::SelectSink given invalid sink_id
[ 1.032247] Render.OpenGL video_core/renderer_opengl/renderer_opengl.cpp:Init:488: GL_VERSION: 3.3.0 - Build 20.19.15.4549
[ 1.033681] Render.OpenGL video_core/renderer_opengl/renderer_opengl.cpp:Init:489: GL_VENDOR: Intel
[ 1.034181] Render.OpenGL video_core/renderer_opengl/renderer_opengl.cpp:Init:490: GL_RENDERER: Intel® HD Graphics 4400
[ 1.045215] Loader core/loader/ncch.cpp:Load:177: Program ID: 000400000011C400
[ 1.045898] Service.FS core/file_sys/ncch_container.cpp:OpenFile:107: Failed to open D:\Home stuff\nightly-mingw/user/sdmc/Nintendo 3DS/00000000000000000000000000000000/00000000000000000000000000000000/title/0004000e/0011c400/content/00000000.app
[ 1.173395] Loader core/hle/kernel/process.cpp:ParseKernelCaps:108: ExHeader kernel version: 2.39
[ 1.177674] Service.CFG core/hle/service/cfg/cfg.cpp:SetPreferredRegionCode:613: Preferred region code set to 0
[ 1.202150] Service.SRV core/hle/service/sm/srv.cpp:RegisterClient:48: (STUBBED) called
[ 1.651086] Service.SRV core/hle/service/sm/srv.cpp:EnableNotification:70: (STUBBED) called
[ 1.663958] Service.APT core/hle/service/apt/apt.cpp:GetLockHandle:431: (STUBBED) called handle=0x00038009 applet_attributes=0x00000000
[ 1.695358] Service.APT core/hle/service/apt/apt.cpp:SetScreenCapPostPermission:870: (STUBBED) screen_capture_post_permission=0
[ 1.700693] Service.NDM core/hle/service/ndm/ndm.cpp:OverrideDefaultDaemons:203: (STUBBED) default_daemon_bit_mask=0x0000000F
[ 1.702262] Service.NDM core/hle/service/ndm/ndm.cpp:SuspendDaemons:89: (STUBBED) daemon_bit_mask=0x00000009
[ 1.710420] Service.APT core/hle/service/apt/apt.cpp:NotifyToWait:408: (STUBBED) app_id=768
[ 1.733486] Service.APT core/hle/service/apt/apt.cpp:AppletUtility:733: (STUBBED) called command=0x00000007, input_size=0x00000004, output_size=0x00000001, input_addr=0x0FFFFF40, output_addr=0x0FFFFF0C
[ 1.736973] Service.APT core/hle/service/apt/apt.cpp:AppletUtility:733: (STUBBED) called command=0x00000004, input_size=0x00000001, output_size=0x00000001, input_addr=0x0FFFFF08, output_addr=0x0FFFFF0C
[ 1.762518] Service.FS core/hle/service/fs/fs_user.cpp:InitializeWithSdkVersion:806: (STUBBED) called, version: 0x070101C8
[ 1.821540] Service.SRV core/hle/service/sm/srv.cpp:Subscribe:146: (STUBBED) called, notification_id=0x209
[ 1.911159] Service.APT core/hle/service/apt/apt.cpp:GetSharedFont:375: Loaded shared font by legacy method
[ 2.115300] Service.GSP core/hle/service/gsp_gpu.cpp:AcquireRight:702: called
[ 2.121538] Service.GSP core/hle/service/gsp_gpu.cpp:RegisterInterruptRelayQueue:397: called, flags=0x00000001
[ 2.389303] HW.Memory core/memory.cpp:GetPhysicalPointer:302: MMIO mappings are not supported yet. phys_addr=0x10B00000
[ 2.393990] HW.GPU core/hw/gpu.cpp:MemoryFill:87: invalid end address 0x10B00000
[ 2.971972] Service.DSP core/hle/service/dsp_dsp.cpp:LoadComponent:148: Firmware hash: 0x348ac2f23aa20bca
[ 2.973843] Service.DSP core/hle/service/dsp_dsp.cpp:LoadComponent:152: Structures hash: 0x93e48663943cad39
[ 2.975169] Service.DSP core/hle/service/dsp_dsp.cpp:LoadComponent:157: (STUBBED) called size=0xC288, prog_mask=0x000000FF, data_mask=0x000E00FF, buffer=0x0061E8C8
[ 2.981984] Service.DSP core/hle/service/dsp_dsp.cpp:RegisterInterruptEvents:248: Registered type=2, pipe=2, event_handle=0x000F002D
[ 2.988328] Service.DSP core/hle/service/dsp_dsp.cpp:GetSemaphoreEventHandle:174: (STUBBED) called
[ 2.991590] Service.DSP core/hle/service/dsp_dsp.cpp:SetSemaphoreMask:469: (STUBBED) called mask=0x00002000
[ 2.997829] Audio.DSP audio_core/hle/pipe.cpp:PipeWrite:134: Application has requested initialization of DSP hardware
[ 3.002372] Service.DSP core/hle/service/dsp_dsp.cpp:SetSemaphore:271: (STUBBED) called
[ 3.013749] Service.DSP core/hle/service/dsp_dsp.cpp:SetSemaphore:271: (STUBBED) called
[ 3.385124] Service.FS core/file_sys/ncch_container.cpp:LoadOverrides:238: Loaded NCCH D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/000400db/00010302/content/00000000.app is tainted, application behavior may not be as expected!
[ 3.389755] Service.FS core/file_sys/ncch_container.cpp:ReadOverrideRomFS:377: File D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/000400db/00010302/content/00000000.app.romfs overriding built-in RomFS
[ 3.408726] Service.FRD core/hle/service/frd/frd.cpp:SetClientSdkVersion:158: (STUBBED) called, version: 0x070101C8
[ 3.414866] Service.FRD core/hle/service/frd/frd.cpp:GetMyPresence:35: (STUBBED) called
[ 3.422087] Service.FRD core/hle/service/frd/frd.cpp:GetFriendKeyList:53: (STUBBED) called, unknown=0, frd_count=100, frd_key_addr=0x08C56B8C
[ 3.441664] Service.BOSS core/hle/service/boss/boss.cpp:InitializeSession:40: (STUBBED) unk_param=0x0000000000000000, translation=0x00000020, unk_param4=0x00000000
[ 3.447915] Service.NDM core/hle/service/ndm/ndm.cpp:ResumeDaemons:104: (STUBBED) daemon_bit_mask=0x0000000B
[ 3.451794] Service.NDM core/hle/service/ndm/ndm.cpp:ResumeDaemons:104: (STUBBED) daemon_bit_mask=0x0000000F
[ 3.461221] Service.BOSS core/hle/service/boss/boss.cpp:GetStorageEntryInfo:838: (STUBBED) called
[ 3.465915] Service.BOSS core/hle/service/boss/boss.cpp:UnregisterStorage:66: (STUBBED) called
[ 3.470944] Service.BOSS core/hle/service/boss/boss.cpp:RegisterStorageEntry:827: (STUBBED) unk_param1=0x000011C5, unk_param2=0x00000000, unk_param3=0x00100000, unk_param4=0x00000014, unk_param5=0x00000001
[ 3.503560] Service.LDR core/hle/service/ldr_ro/ldr_ro.cpp:LoadCRR:202: (STUBBED) called, crr_buffer_ptr=0x08C62000, crr_size=0x00002000, process=0xFFFF8001
[ 3.520827] Service.APT core/hle/service/apt/apt.cpp:SetScreenCapPostPermission:870: (STUBBED) screen_capture_post_permission=3
[ 3.708737] Service.FRD core/hle/service/frd/frd.cpp:GetMyFriendKey:97: (STUBBED) called
[ 3.910534] Service.FRD core/hle/service/frd/frd.cpp:GetMyFriendKey:97: (STUBBED) called
[ 4.403533] Service core/hle/service/service.cpp:HandleSyncRequest:95: unknown / unimplemented function ‘GetStepHistory’: port=ptm:u, cmd_buff[1]=0x18, cmd_buff[2]=0xB284DC00, cmd_buff[3]=0x82, cmd_buff[4]=0x30C, cmd_buff[5]=0xFFFFF50
[ 4.472900] Service.FS core/file_sys/ncch_container.cpp:LoadOverrides:238: Loaded NCCH D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app is tainted, application behavior may not be as expected!
[ 4.478012] Service.FS core/file_sys/ncch_container.cpp:ReadOverrideRomFS:377: File D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app.romfs overriding built-in RomFS
[ 4.517122] Service.FS core/file_sys/ncch_container.cpp:LoadOverrides:238: Loaded NCCH D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app is tainted, application behavior may not be as expected!
[ 4.522971] Service.FS core/file_sys/ncch_container.cpp:ReadOverrideRomFS:377: File D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app.romfs overriding built-in RomFS
[ 4.532756] Service.FS core/file_sys/ncch_container.cpp:LoadOverrides:238: Loaded NCCH D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app is tainted, application behavior may not be as expected!
[ 4.536765] Service.FS core/file_sys/ncch_container.cpp:ReadOverrideRomFS:377: File D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app.romfs overriding built-in RomFS
[ 4.552438] Service.FS core/file_sys/ncch_container.cpp:LoadOverrides:238: Loaded NCCH D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app is tainted, application behavior may not be as expected!
[ 4.557577] Service.FS core/file_sys/ncch_container.cpp:ReadOverrideRomFS:377: File D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app.romfs overriding built-in RomFS
[ 4.561626] Service.FS core/file_sys/ncch_container.cpp:LoadOverrides:238: Loaded NCCH D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app is tainted, application behavior may not be as expected!
[ 4.565003] Service.FS core/file_sys/ncch_container.cpp:ReadOverrideRomFS:377: File D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app.romfs overriding built-in RomFS
[ 4.572244] Service.FS core/file_sys/ncch_container.cpp:LoadOverrides:238: Loaded NCCH D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app is tainted, application behavior may not be as expected!
[ 4.575039] Service.FS core/file_sys/ncch_container.cpp:ReadOverrideRomFS:377: File D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app.romfs overriding built-in RomFS
[ 4.768203] Service.FRD core/hle/service/frd/frd.cpp:GetMyFriendKey:97: (STUBBED) called
[ 4.838894] Service.FS core/file_sys/ncch_container.cpp:LoadOverrides:238: Loaded NCCH D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app is tainted, application behavior may not be as expected!
[ 4.843721] Service.FS core/file_sys/ncch_container.cpp:ReadOverrideRomFS:377: File D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app.romfs overriding built-in RomFS
[ 4.848177] Service.FS core/file_sys/ncch_container.cpp:LoadOverrides:238: Loaded NCCH D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app is tainted, application behavior may not be as expected!
[ 4.851740] Service.FS core/file_sys/ncch_container.cpp:ReadOverrideRomFS:377: File D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app.romfs overriding built-in RomFS
[ 4.863489] Service.FS core/file_sys/ncch_container.cpp:LoadOverrides:238: Loaded NCCH D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app is tainted, application behavior may not be as expected!
[ 4.869806] Service.FS core/file_sys/ncch_container.cpp:ReadOverrideRomFS:377: File D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app.romfs overriding built-in RomFS
[ 4.884989] Service.FS core/file_sys/ncch_container.cpp:LoadOverrides:238: Loaded NCCH D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app is tainted, application behavior may not be as expected!
[ 4.890764] Service.FS core/file_sys/ncch_container.cpp:ReadOverrideRomFS:377: File D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app.romfs overriding built-in RomFS
[ 4.895026] Service.FS core/file_sys/ncch_container.cpp:LoadOverrides:238: Loaded NCCH D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app is tainted, application behavior may not be as expected!
[ 4.898108] Service.FS core/file_sys/ncch_container.cpp:ReadOverrideRomFS:377: File D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app.romfs overriding built-in RomFS
[ 4.905530] Service.FS core/file_sys/ncch_container.cpp:LoadOverrides:238: Loaded NCCH D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app is tainted, application behavior may not be as expected!
[ 4.908765] Service.FS core/file_sys/ncch_container.cpp:ReadOverrideRomFS:377: File D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app.romfs overriding built-in RomFS
[ 4.921415] Service core/hle/service/service.cpp:HandleSyncRequest:95: unknown / unimplemented function ‘0x086F0040’: port=fs:USER, cmd_buff[1]=0x1000
[ 5.267770] Service.FS core/file_sys/ncch_container.cpp:LoadOverrides:238: Loaded NCCH D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app is tainted, application behavior may not be as expected!
[ 5.272712] Service.FS core/file_sys/ncch_container.cpp:ReadOverrideRomFS:377: File D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app.romfs overriding built-in RomFS
[ 5.276923] Service.FS core/file_sys/ncch_container.cpp:LoadOverrides:238: Loaded NCCH D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app is tainted, application behavior may not be as expected!
[ 5.280180] Service.FS core/file_sys/ncch_container.cpp:ReadOverrideRomFS:377: File D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app.romfs overriding built-in RomFS
[ 5.295199] Service.FS core/file_sys/ncch_container.cpp:LoadOverrides:238: Loaded NCCH D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app is tainted, application behavior may not be as expected!
[ 5.297500] Service.FS core/file_sys/ncch_container.cpp:ReadOverrideRomFS:377: File D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app.romfs overriding built-in RomFS
[ 5.312628] Service.FS core/file_sys/ncch_container.cpp:LoadOverrides:238: Loaded NCCH D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app is tainted, application behavior may not be as expected!
[ 5.318834] Service.FS core/file_sys/ncch_container.cpp:ReadOverrideRomFS:377: File D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app.romfs overriding built-in RomFS
[ 5.323045] Service.FS core/file_sys/ncch_container.cpp:LoadOverrides:238: Loaded NCCH D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app is tainted, application behavior may not be as expected!
[ 5.326028] Service.FS core/file_sys/ncch_container.cpp:ReadOverrideRomFS:377: File D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app.romfs overriding built-in RomFS
[ 5.334494] Service.FS core/file_sys/ncch_container.cpp:LoadOverrides:238: Loaded NCCH D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app is tainted, application behavior may not be as expected!
[ 5.337791] Service.FS core/file_sys/ncch_container.cpp:ReadOverrideRomFS:377: File D:\Home stuff\nightly-mingw/user/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app.romfs overriding built-in RomFS
[ 5.378748] Service.LDR core/hle/service/ldr_ro/cro_helper.cpp:ApplyStaticAnonymousSymbolToCRS:528: CRO “DllSequence” exports 0 static anonymous symbols
[ 5.385026] Service.LDR core/hle/service/ldr_ro/cro_helper.cpp:operator():839: CRO “DllSequence” imports 0 indexed symbols from “|static|”
[ 5.387606] Service.LDR core/hle/service/ldr_ro/cro_helper.cpp:operator():857: CRO “DllSequence” imports 374 anonymous symbols from “|static|”
[ 5.390675] Service.LDR core/hle/service/ldr_ro/ldr_ro.cpp:LoadCRO:445: CRO “DllSequence” loaded at 0x006F3000, fixed_end=0x00710000
[ 5.514936] Service.LDR core/hle/service/ldr_ro/cro_helper.cpp:ApplyStaticAnonymousSymbolToCRS:528: CRO “DllBackGround” exports 0 static anonymous symbols
[ 5.519379] Service.LDR core/hle/service/ldr_ro/cro_helper.cpp:operator():839: CRO “DllBackGround” imports 0 indexed symbols from “|static|”
[ 5.522578] Service.LDR core/hle/service/ldr_ro/cro_helper.cpp:operator():857: CRO “DllBackGround” imports 109 anonymous symbols from “|static|”
[ 5.525266] Service.LDR core/hle/service/ldr_ro/ldr_ro.cpp:LoadCRO:445: CRO “DllBackGround” loaded at 0x00718000, fixed_end=0x00721000
[ 5.648392] Service.LDR core/hle/service/ldr_ro/cro_helper.cpp:ApplyStaticAnonymousSymbolToCRS:528: CRO “DllFieldDemo” exports 0 static anonymous symbols
[ 5.653249] Service.LDR core/hle/service/ldr_ro/cro_helper.cpp:operator():839: CRO “DllFieldDemo” imports 0 indexed symbols from “|static|”
[ 5.655630] Service.LDR core/hle/service/ldr_ro/cro_helper.cpp:operator():857: CRO “DllFieldDemo” imports 126 anonymous symbols from “|static|”
[ 5.658077] Service.LDR core/hle/service/ldr_ro/cro_helper.cpp:operator():839: CRO “DllFieldDemo” imports 0 indexed symbols from “DllSequence”
[ 5.663111] Service.LDR core/hle/service/ldr_ro/cro_helper.cpp:operator():857: CRO “DllFieldDemo” imports 24 anonymous symbols from “DllSequence”
[ 5.665910] Service.LDR core/hle/service/ldr_ro/cro_helper.cpp:ApplyModuleExport:954: CRO “DllFieldDemo” exports 0 indexed symbols to “|static|”
[ 5.668806] Service.LDR core/hle/service/ldr_ro/cro_helper.cpp:ApplyModuleExport:971: CRO “DllFieldDemo” exports 1 anonymous symbols to “|static|”
[ 5.673739] Service.LDR core/hle/service/ldr_ro/ldr_ro.cpp:LoadCRO:445: CRO “DllFieldDemo” loaded at 0x00722000, fixed_end=0x00727000
[ 5.788720] Service.LDR core/hle/service/ldr_ro/cro_helper.cpp:ApplyStaticAnonymousSymbolToCRS:528: CRO “DllTitle” exports 0 static anonymous symbols
[ 5.793839] Service.LDR core/hle/service/ldr_ro/cro_helper.cpp:operator():839: CRO “DllTitle” imports 0 indexed symbols from “|static|”
[ 5.796679] Service.LDR core/hle/service/ldr_ro/cro_helper.cpp:operator():857: CRO “DllTitle” imports 218 anonymous symbols from “|static|”
[ 5.799327] Service.LDR core/hle/service/ldr_ro/cro_helper.cpp:operator():839: CRO “DllTitle” imports 0 indexed symbols from “DllSequence”
[ 5.804604] Service.LDR core/hle/service/ldr_ro/cro_helper.cpp:operator():857: CRO “DllTitle” imports 13 anonymous symbols from “DllSequence”
[ 5.807262] Service.LDR core/hle/service/ldr_ro/cro_helper.cpp:ApplyModuleExport:954: CRO “DllTitle” exports 0 indexed symbols to “|static|”
[ 5.809699] Service.LDR core/hle/service/ldr_ro/cro_helper.cpp:ApplyModuleExport:971: CRO “DllTitle” exports 2 anonymous symbols to “|static|”
[ 5.814865] Service.LDR core/hle/service/ldr_ro/ldr_ro.cpp:LoadCRO:445: CRO “DllTitle” loaded at 0x00728000, fixed_end=0x0074A000
[ 8.626458] Service.FS core/hle/service/fs/archive.cpp:HandleSyncRequest:172: (STUBBED) File command OpenLinkFile Path: [Binary: 000000000000000000000000]

Are you by any chance using a custom layouts? I remember someone from a while ago had issues with the touchscreen with custom layouts.

Are you by any chance using a custom layouts? I remember someone from a while ago had issues with the touchscreen with custom layouts.

No I am not

Is there a reason you are using the SDL2 frontend? It should be working fine. Could you post your sdl2-config.ini file to Pastebin?

The only non-citra files I added were the dump files, so no. anyways here is the Pastebin

[Controls]
# The input devices and parameters for each 3DS native input
# It should be in the format of "engine:[engine_name],[param1]:[value1],[param2]:[value2]..."
# Escape characters $0 (for ':'), $1 (for ',') and $2 (for '$') can be used in values

# for button input, the following devices are available:
#  - "keyboard" (default) for keyboard input. Required parameters:
#      - "code": the code of the key to bind
#  - "sdl" for joystick input using SDL. Required parameters:
#      - "joystick": the index of the joystick to bind
#      - "button"(optional): the index of the button to bind
#      - "hat"(optional): the index of the hat to bind as direction buttons
#      - "axis"(optional): the index of the axis to bind
#      - "direction"(only used for hat): the direction name of the hat to bind. Can be "up", "down", "left" or "right"
#      - "threshold"(only used for axis): a float value in (-1.0, 1.0) which the button is
#          triggered if the axis value crosses
#      - "direction"(only used for axis): "+" means the button is triggered when the axis value
#          is greater than the threshold; "-" means the button is triggered when the axis value
#          is smaller than the threshold
button_a=
button_b=
button_x=
button_y=
button_up=
button_down=
button_left=
button_right=
button_l=
button_r=
button_start=
button_select=
button_zl=
button_zr=
button_home=

# for analog input, the following devices are available:
#  - "analog_from_button" (default) for emulating analog input from direction buttons. Required parameters:
#      - "up", "down", "left", "right": sub-devices for each direction.
#          Should be in the format as a button input devices using escape characters, for example, "engine$0keyboard$1code$00"
#      - "modifier": sub-devices as a modifier.
#      - "modifier_scale": a float number representing the applied modifier scale to the analog input.
#          Must be in range of 0.0-1.0. Defaults to 0.5
#  - "sdl" for joystick input using SDL. Required parameters:
#      - "joystick": the index of the joystick to bind
#      - "axis_x": the index of the axis to bind as x-axis (default to 0)
#      - "axis_y": the index of the axis to bind as y-axis (default to 1)
circle_pad=
c_stick=

# for motion input, the following devices are available:
#  - "motion_emu" (default) for emulating motion input from mouse input. Required parameters:
#      - "update_period": update period in milliseconds (default to 100)
#      - "sensitivity": the coefficient converting mouse movement to tilting angle (default to 0.01)
motion_device=

# for touch input, the following devices are available:
#  - "emu_window" (default) for emulating touch input from mouse input to the emulation window. No parameters required
touch_device=

[Core]
# Whether to use the Just-In-Time (JIT) compiler for CPU emulation
# 0: Interpreter (slow), 1 (default): JIT (fast)
use_cpu_jit =

[Renderer]
# Whether to use software or hardware rendering.
# 0: Software, 1 (default): Hardware
use_hw_renderer =

# Whether to use the Just-In-Time (JIT) compiler for shader emulation
# 0: Interpreter (slow), 1 (default): JIT (fast)
use_shader_jit =

# Resolution scale factor
# 0: Auto (scales resolution to window size), 1: Native 3DS screen resolution, Otherwise a scale
# factor for the 3DS resolution
resolution_factor =

# Whether to enable V-Sync (caps the framerate at 60FPS) or not.
# 0 (default): Off, 1: On
use_vsync =

# The clear color for the renderer. What shows up on the sides of the bottom screen.
# Must be in range of 0.0-1.0. Defaults to 1.0 for all.
bg_red =
bg_blue =
bg_green =

[Layout]
# Layout for the screen inside the render window.
# 0 (default): Default Top Bottom Screen, 1: Single Screen Only, 2: Large Screen Small Screen
layout_option =

# Toggle custom layout (using the settings below) on or off.
# 0 (default): Off , 1: On
custom_layout =

# Screen placement when using Custom layout option
# 0x, 0y is the top left corner of the render window.
custom_top_left =
custom_top_top =
custom_top_right =
custom_top_bottom =
custom_bottom_left =
custom_bottom_top =
custom_bottom_right =
custom_bottom_bottom =

#Whether to toggle frame limiter on or off.
# 0: Off , 1  (default): On
toggle_framelimit =

# Swaps the prominent screen with the other screen.
# For example, if Single Screen is chosen, setting this to 1 will display the bottom screen instead of the top screen.
# 0 (default): Top Screen is prominent, 1: Bottom Screen is prominent
swap_screen =

[Audio]
# Which audio output engine to use.
# auto (default): Auto-select, null: No audio output, sdl2: SDL2 (if available)
output_engine =

# Whether or not to enable the audio-stretching post-processing effect.
# This effect adjusts audio speed to match emulation speed and helps prevent audio stutter,
# at the cost of increasing audio latency.
# 0: No, 1 (default): Yes
enable_audio_stretching =

# Which audio device to use.
# auto (default): Auto-select
output_device =

[Data Storage]
# Whether to create a virtual SD card.
# 1 (default): Yes, 0: No
use_virtual_sd =

[System]
# The system model that Citra will try to emulate
# 0: Old 3DS (default), 1: New 3DS
is_new_3ds =

# The system region that Citra will use during emulation
# -1: Auto-select (default), 0: Japan, 1: USA, 2: Europe, 3: Australia, 4: China, 5: Korea, 6: Taiwan
region_value =1

[Camera]
# Which camera engine to use for the right outer camera
# blank (default): a dummy camera that always returns black image
camera_outer_right_name =

# A config string for the right outer camera. Its meaning is defined by the camera engine
camera_outer_right_config =

# ... for the left outer camera
camera_outer_left_name =
camera_outer_left_config =

# ... for the inner camera
camera_inner_name =
camera_inner_config =

[Miscellaneous]
# A filter which removes logs below a certain logging level.
# Examples: *:Debug Kernel.SVC:Trace Service.*:Critical
log_filter = *:Info

[Debugging]
# Port for listening to GDB connections.
use_gdbstub=false
gdbstub_port=24689

[WebService]
# Whether or not to enable telemetry
# 0: No, 1 (default): Yes
enable_telemetry =
# Endpoint URL for submitting telemetry data
telemetry_endpoint_url = https://services.citra-emu.org/api/telemetry
# Endpoint URL to verify the username and token
verify_endpoint_url = https://services.citra-emu.org/api/profile
# Username and token for Citra Web Service
# See https://services.citra-emu.org/ for more info
citra_username =
citra_token =

Edit your line “touch_device=” to “touch_device=engine:emu_window”, save the file and try again.