finally I get solution 🙂
I added some lines reicastControllers.py as below.
if controller.realName in 'GPIO Controller 1':
Config.set("compat", "axis_dpad1_x", "0")
Config.set("compat", "axis_dpad1_y", "1")
Config.set("compat", "btn_trigger_left", "310")
Config.set("compat", "btn_trigger_right", "311")
Config.set("emulator", "btn_escape", "314")
Config.set("dreamcast", "btn_b", "305")
Config.set("dreamcast", "btn_a", "304")
Config.set("dreamcast", "btn_x", "308")
Config.set("dreamcast", "btn_y", "307")
Config.set("dreamcast", "btn_start", "315")
Config.set("dreamcast", "axis_y", "1")
Config.set("dreamcast", "axis_x", "0")
if controller.realName in 'GPIO Controller 2':
Config.set("compat", "axis_dpad1_x", "0")
Config.set("compat", "axis_dpad1_y", "1")
Config.set("compat", "btn_trigger_left", "310")
Config.set("compat", "btn_trigger_right", "311")
Config.set("emulator", "btn_escape", "314")
Config.set("dreamcast", "btn_b", "305")
Config.set("dreamcast", "btn_a", "304")
Config.set("dreamcast", "btn_x", "308")
Config.set("dreamcast", "btn_y", "307")
Config.set("dreamcast", "btn_start", "315")
Config.set("dreamcast", "axis_y", "1")
Config.set("dreamcast", "axis_x", "0")