# All options that accept colors will take any of the following formats: # "#RGB", "#RGBA", "#RRGGBB", "#RRGGBBAA" # These top level options apply to all buttons/sticks/axes unless they're overridden inactive = "#123" active = "#aaaa" # outline = "#282828" outline_weight = 1.5 # stick_radius = 30 # gate_radius = 50 # Just a radius for button shape means circular buttons, size + radius # means rounded rectangle (the radius specifies the corner radius) button_shape = { radius = 20 } fill_dir = "left_to_right" # for axes # These button id's are from my switch pro controller, use test.toml # to figure out the ID's for your controllers buttons/axes. # You can color different parts of the button with: fill, fill_active, outline, # and outline_active. outline_weight is also overridable per-button buttons = [ { id = 2, pos = [400, 150], fill_active = '#f00' }, # A { id = 1, pos = [350, 200], fill_active = '#ff0' }, # B { id = 3, pos = [350, 100], fill_active = '#00f' }, # X { id = 0, pos = [300, 150], fill_active = '#0f0' }, # Y { id = 4, pos = [120, 20], shape = { size = [80, 40], radius = 10 } }, # LB { id = 5, pos = [250, 20], shape = { size = [80, 40], radius = 10 } }, # RB { id = 6, pos = [20, 20], shape = { size = [80, 40], radius = 10 } }, # LT { id = 7, pos = [350, 20], shape = { size = [80, 40], radius = 10 } }, # RT { id = 9, pos = [250, 110], shape = { radius = 10 } }, # + { id = 8, pos = [200, 110], shape = { radius = 10 } }, # - { id = 12, pos = [250, 140], shape = { radius = 10 } }, # home { id = 13, pos = [200, 140], shape = { radius = 10 } }, # screen shot { id = 10, pos = [173, 210], shape = { radius = 10 } }, # left stick { id = 11, pos = [233, 210], shape = { radius = 10 } }, # right stick ] [[sticks]] # left axes = [0, 1] pos = [100, 150] gate = "#282828" gate_radius = 66 gate_weight = 3.1 displacement = 50 [[sticks]] # right axes = [2, 3] pos = [280, 260] radius = 30 gate = "#282828" gate_weight = 2 gate_radius = 40 displacement = 30 [[axes]] # dpad x id = 4 pos = [75, 275] invert = true shape = { size = [80, 10] } [[axes]] # dpad y id = 5 pos = [110, 240] invert = true shape = { size = [10, 80] } fill_dir = "top_to_bottom"