Skip to content

Instantly share code, notes, and snippets.

@akechi-haruka
Created June 19, 2025 13:26
Show Gist options
  • Select an option

  • Save akechi-haruka/902c59511078269dbb132687e6e5cb2b to your computer and use it in GitHub Desktop.

Select an option

Save akechi-haruka/902c59511078269dbb132687e6e5cb2b to your computer and use it in GitHub Desktop.
APMv3 config.json with analog support
{
"common" :
{
"max_player" : 1,
"language" : "english",
"custom_resource_id" : [ "common" ]
},
"error" :
{
"auto_reset" : true
},
"apm" :
{
"enable" : true
},
"usb_io" :
{
"enable" : true,
"node" :
[
{
"id" : 0,
"required_function" :
{
"switch_input" :
{
"enable" : true,
"player" : 2,
"button" : 14
},
"coin_input" :
{
"enable" : true,
"slot" : 1
},
"general_output" :
{
"enable" : true,
"slot" : 20
},
"analog_input" :
{
"channel" : 7,
"bit" : 8
}
}
}
]
},
"input" :
{
"system" :
[
{
"id" : "test",
"type" : "usb_switch",
"usb_node" : 0,
"usb_player": -1,
"index" : 0
},
{
"id" : "service",
"type" : "usb_switch",
"usb_node" : 0,
"usb_player": 0,
"index" : 6
}
],
"players" :
[
[
{
"id" : "up",
"type" : "usb_switch",
"usb_node" : 0,
"usb_player": 0,
"index" : 10
},
{
"id" : "down",
"type" : "usb_switch",
"usb_node" : 0,
"usb_player": 0,
"index" : 10
},
{
"id" : "left",
"type" : "usb_switch",
"usb_node" : 0,
"usb_player": 0,
"index" : 10
},
{
"id" : "right",
"type" : "usb_switch",
"usb_node" : 0,
"usb_player": 0,
"index" : 10
},
{
"id" : "start",
"type" : "usb_switch",
"usb_node" : 0,
"usb_player": 0,
"index" : 1
},
{
"id" : "push01",
"type" : "usb_switch",
"usb_node" : 0,
"usb_player": 0,
"index" : 0
},
{
"id" : "push02",
"type" : "usb_switch",
"usb_node" : 0,
"usb_player": 0,
"index" : 4
},
{
"id" : "push03",
"type" : "usb_switch",
"usb_node" : 0,
"usb_player": 0,
"index" : 5
},
{
"id" : "push04",
"type" : "usb_switch",
"usb_node" : 0,
"usb_player": 0,
"index" : 14
},
{
"id" : "push05",
"type" : "usb_switch",
"usb_node" : 0,
"usb_player": 0,
"index" : 13
},
{
"id" : "push06",
"type" : "usb_switch",
"usb_node" : 0,
"usb_player": 0,
"index" : 12
},
{
"id" : "push07",
"type" : "usb_switch",
"usb_node" : 0,
"usb_player": 0,
"index" : 11
},
{
"id" : "push08",
"type" : "usb_switch",
"usb_node" : 0,
"usb_player": 0,
"index" : 10
},
{
"id" : "home",
"type" : "usb_switch",
"usb_node" : 0,
"usb_player": 1,
"index" : 12
},
{
"id" : "analog_x",
"type" :"usb_analog",
"usb_node" : 0,
"usb_player": 0,
"index" : 0
},
{
"id" : "analog_y",
"type" :"usb_analog",
"usb_node" : 0,
"usb_player": 0,
"index" : 4
}
]
]
},
"output" :
{
"system" :
[
{
"id" : "lockout1",
"type" : "usb_general",
"usb_node" : 0,
"index" : 6,
"count" : 1
},
{
"id" : "charge",
"type" : "usb_general",
"usb_node" : 0,
"index" : 10,
"count" : 1
}
]
},
"credit" : {
"enable" : true,
"max_credit" : 24,
"config" : {
"freeplay" : false,
"free_play" : false,
"coin_chute_type_common":false,
"service_type_common":false,
"bonus_adder":0,
"game_cost":[
1
]
},
"coin_selector_AS6DB" : {
"enable" : false
}
},
"network" :
{
"enable" : true
},
"allnet_auth" :
{
"enable" : true,
"support_line" :
{
"broadband" : true,
"mobile" : true,
"xdsl" : true
}
},
"allnet_accounting" :
{
"enable" : true,
"mode" : "A"
},
"aime" :
{
"enable" : true,
"unit" :
[
{
"port" : 3,
"id" : 1,
"required" : true
}
],
"firmware_path" : ["aime_firm\\update_15396_6728_94.bin"],
"high_baudrate" : true
},
"sequence" :
{
"play_accounting_timing" : "normal",
"save_total_time_on_playing" : false,
"histogram_rule" :
[
{
"width" : 120,
"count" : 10
},
{
"width" : 300,
"count" : 4
}
]
},
"abaas_log" :
{
"enable" : true,
"root_path" : "log"
},
"video" :
{
"enable" : true,
"mode" : "clone",
"monitor" :
[
{
"width" : 1920,
"height" : 1080,
"angle" : 0
}
],
"ignore_unconnected" : false
},
"emoney" :
{
"enable" : true,
"resource_path" : "tfps-res-pro",
"aime_unit" : 0,
"display_port" : 1,
"log" : {
"level" : 1,
"root_path" : "emoney_log"
},
"ignore_brand" : [
"id",
"sapica"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment