Documentation for this module may be created at Module:Button/data/doc

-- @TODO make aliases DRY
return {
    ['ps'] = {
        ['x'] = {
            file = 'Playstation-Button-X.png',
            alt = 'X',
        },
        ['cross'] = {
            file = 'Playstation-Button-X.png',
            alt = 'X',
        },
        ['o'] = {
            file = 'Playstation-Button-C.png',
            alt = 'Circle',
        },
        ['circle'] = {
            file = 'Playstation-Button-C.png',
            alt = 'Circle',
        },
        ['triangle'] = {
            file = 'Playstation-Button-T.png',
            alt = 'Triangle',
        },
        ['square'] = {
            file = 'Playstation Button S.png',
            alt = 'Square',
        },
        ['start'] = {
            file = 'Playstation Button Start.png',
            alt = 'Start',
        },
        ['select'] = {
            file = 'Playstation Button Select.png',
            alt = 'Select',
        },
        ['options'] = {
            file = 'Playstation-Button-Options.png',
            alt = 'Options',
        },
        ['share'] = {
            file = 'Playstation-Button-Share.png',
            alt = 'Share',
        },
        ['ps'] = {
            file = 'Playstation-Button-PS.png',
            alt = 'PS',
        },
        ['move'] = {
            file = 'Playstation-Button-Move.png',
            alt = 'Move',
        },
        ['touchpad'] = {
            file = 'Playstation-Button-Touchpad.png',
            alt = 'Touchpad',
        },
        ['dpad'] = {
            file = 'Playstation Dpad Neutral.png',
            alt = 'D-pad',
        },
        ['d-pad'] = {
            file = 'Playstation Dpad Neutral.png',
            alt = 'D-pad',
        },
        ['rightstick'] = {
            file = 'Playstation Rstick Neutral.png',
            alt = 'Right stick',
        },
        ['rstick'] = {
            file = 'Playstation Rstick Neutral.png',
            alt = 'Right stick',
        },
        ['leftstick'] = {
            file = 'Playstation Lstick Neutral.png',
            alt = 'Left stick',
        },
        ['lstick'] = {
            file = 'Playstation Lstick Neutral.png',
            alt = 'Left stick',
        },
        ['up'] = {
            file = 'Playstation Dpad Up.png',
            alt = 'Up',
        },
        ['down'] = {
            file = 'Playstation Dpad Down.png',
            alt = 'Down',
        },
        ['left'] ={
            file = 'Playstation Dpad Left.png',
            alt = 'Left',
        },
        ['right'] = {
            file = 'Playstation Dpad Right.png',
            alt = 'Right',
        },
        ['up-right'] = {
            file = 'Playstation Dpad Up-Right.png',
            alt = 'Up-Right',
        },
        ['down-right'] = {
            file = 'Playstation Dpad Down-Right.png',
            alt = 'Down-Right',
        },
        ['down-left'] = {
            file = 'Playstation Dpad Down-Left.png',
            alt = 'Down-Left',
        },
        ['up-left'] = {
            file = 'Playstation Dpad Up-Left.png',
            alt = 'Up-Left',
        },
        ['left-right'] = {
            file = 'Playstation Dpad Left Right.png',
            alt = 'Left or right',
        },
        ['right-left'] = {
            file = 'Playstation Dpad Left Right.png',
            alt = 'Left or right',
        },
        ['touchpad up'] = {
            file = 'Playstation-Touchpad-Up.png',
            alt = 'Touchpad up swipe',
        },
        ['touchpad down'] = {
            file = 'Playstation-Touchpad-Down.png',
            alt = 'Touchpad down swipe',
        },
        ['touchpad left'] = {
            file = 'Playstation-Touchpad-Left.png',
            alt = 'Touchpad left swipe',
        },
        ['touchpad right'] = {
            file = 'Playstation-Touchpad-Right.png',
            alt = 'Touchpad right swipe',
        },
        ['rightstick up'] = {
            file = 'Playstation-Rstick-Up.png',
            alt = 'Right stick up',
        },
        ['rightstick up-right'] = {
            file = 'Playstation-Rstick-UpRight.png',
            alt = 'Right stick up-right',
        },
        ['rightstick right'] = {
            file = 'Playstation-Rstick-Right.png',
            alt = 'Right stick right',
        },
        ['rightstick down-right'] = {
            file = 'Playstation-Rstick-DownRight.png',
            alt = 'Right stick down-right',
        },
        ['rightstick down'] = {
            file = 'Playstation-Rstick-Down.png',
            alt = 'Right stick down',
        },
        ['rightstick down-left'] = {
            file = 'Playstation-Rstick-DownLeft.png',
            alt = 'Right stick down-left',
        },
        ['rightstick left'] = {
            file = 'Playstation-Rstick-Left.png',
            alt = 'Right stick left',
        },
        ['rightstick up-left'] = {
            file = 'Playstation-Rstick-UpLeft.png',
            alt = 'Right stick up-left',
        },
        ['rightstick clockwise'] = {
            file = 'Playstation-Rstick-Clockwise.png',
            alt = 'Rotate right stick clockwise',
        },
        ['rightstick counterclockwise'] = {
            file = 'Playstation-Rstick-Counterclockwise.png',
            alt = 'Rotate right stick counterclockwise',
        },
        ['leftstick up'] = {
            file = 'Playstation-Lstick-Up.png',
            alt = 'Left stick up',
        },
        ['leftstick up-right'] = {
            file = 'Playstation-Lstick-UpRight.png',
            alt = 'Left stick up-right',
        },
        ['leftstick right'] = {
            file = 'Playstation-Lstick-Right.png',
            alt = 'Left stick right',
        },
        ['leftstick down-right'] = {
            file = 'Playstation-Lstick-DownRight.png',
            alt = 'Left stick down-right',
        },
        ['leftstick down'] = {
            file = 'Playstation-Lstick-Down.png',
            alt = 'Left stick down',
        },
        ['leftstick down-left'] = {
            file = 'Playstation-Lstick-DownLeft.png',
            alt = 'Left stick down-left',
        },
        ['leftstick left'] = {
            file = 'Playstation-Lstick-Left.png',
            alt = 'Left stick left',
        },
        ['leftstick up-left'] = {
            file = 'Playstation-Lstick-UpLeft.png',
            alt = 'Left stick up-left',
        },
        ['leftstick clockwise'] = {
            file = 'Playstation-Lstick-Clockwise.png',
            alt = 'Rotate left stick clockwise',
        },
        ['leftstick counterclockwise'] = {
            file = 'Playstation-Lstick-Counterclockwise.png',
            alt = 'Rotate left stick counterclockwise',
        },
        ['r1'] = {
            file = 'Playstation-Button-R1.png',
            alt = 'R1',
        },
        ['r2'] = {
            file = 'Playstation-Button-R2.png',
            alt = 'R2',
        },
        ['r3'] = {
            file = 'Playstation Button R3.png',
            alt = 'R3',
        },
        ['rs'] = {
            file = 'PlayStation RS Button.png',
            alt = 'RS',
        },
        ['l1'] = {
            file = 'Playstation-Button-L1.png',
            alt = 'L1',
        },
        ['l2'] = {
            file = 'Playstation-Button-L2.png',
            alt = 'L2',
        },
        ['l3'] = {
            file = 'PlayStation L3 Button.png',
            alt = 'L3',
        },
        ['ls'] = {
            file = 'PlayStation LS Button.png',
            alt = 'LS',
        },
        ['r'] = {
            file = 'Playstation-Button-R.png',
            alt = 'Right shoulder button',
        },
        ['l'] = {
            file = 'Playstation-Button-L.png',
            alt = 'Left shoulder button',
        },
        ['t'] = {
            file = 'Playstation-T-Move.png',
            alt = 'T Trigger',
        },
        ['x symbol'] = {
            file = 'X-button.png',
            alt = 'X',
        },
        ['cross symbol'] = {
            file = 'X-button.png',
            alt = 'X',
        },
        ['o symbol'] = {
            file = 'Circle-button.png',
            alt = 'Circle',
        },
        ['circle symbol'] = {
            file = 'Circle-button.png',
            alt = 'Circle',
        },
        ['square symbol'] = {
            file = 'Square-button.png',
            alt = 'Square',
        },
        ['triangle symbol'] = {
            file = 'Triangle-button.png',
            alt = 'Triangle',
        },
    },
    ['dissidia'] = {
        ['x'] = {
            file = 'Dissidia X Button.png',
            alt = 'X',
        },
        ['cross'] = {
            file = 'Dissidia X Button.png',
            alt = 'X',
        },
        ['o'] = {
            file = 'Dissidia Circle Button.png',
            alt = 'Circle',
        },
        ['circle'] = {
            file = 'Dissidia Circle Button.png',
            alt = 'Circle',
        },
        ['r'] = {
            file = 'Dissidia R Button.png',
            alt = 'Right shoulder button',
        },
        ['l'] = {
            file = 'Dissidia L Button.png',
            alt = 'Left shoulder button',
        },
        ['square'] = {
            file = 'Dissidia Square Button.png',
            alt = 'Square',
        },
        ['triangle'] = {
            file = 'Dissidia Triangle Button.png',
            alt = 'Triangle',
        },
        ['start'] = {
            file = 'Playstation Button Start.png',
            alt = 'Start',
        },
        ['select'] = {
            file = 'Playstation Button Select.png',
            alt = 'Select',
        },
        ['up'] = {
            file = 'Dissidia Up Pad.png',
            alt = 'Up',
        },
        ['down'] = {
            file = 'Dissidia Down Pad.png',
            alt = 'Down',
        },
        ['left'] = {
            file = 'Dissidia Left Pad.png',
            alt = 'Left',
        },
        ['right'] = {
            file = 'Dissidia Right Pad.png',
            alt = 'Right',
        },
    },
    ['nintendo'] = {
        ['a'] = {
            file = 'A-button.png',
            alt = 'A',
        },
        ['b'] = {
            file = 'B-button.png',
            alt = 'B',
        },
        ['x'] = {
            file = 'X-button Nintendo.png',
            alt = 'X',
        },
        ['y'] = {
            file = 'Y-button.png',
            alt = 'Y',
        },
        ['start'] = {
            file = 'SuperNintendo-Button-Start.png',
            alt = 'Start',
        },
        ['select'] = {
            file = 'SuperNintendo-Button-Select.png',
            alt = 'Select',
        },
        ['up'] = {
            file = 'SuperNintendo-Dpad-Up.png',
            alt = 'Up',
        },
        ['up-right'] = {
            file = 'SuperNintendo-Dpad-Up-Right.png',
            alt = 'Upper-right',
        },
        ['right'] = {
            file = 'SuperNintendo-Dpad-Right.png',
            alt = 'Right',
        },
        ['down-right'] = {
            file = 'SuperNintendo-Dpad-Down-Right.png',
            alt = 'Lower-right',
        },
        ['down'] = {
            file = 'SuperNintendo-Dpad-Down.png',
            alt = 'Down',
        },
        ['down-left'] = {
            file = 'SuperNintendo-Dpad-Down-Left.png',
            alt = 'Lower-left',
        },
        ['left'] = {
            file = 'SuperNintendo-Dpad-Left.png',
            alt = 'Left',
        },
        ['up-left'] = {
            file = 'SuperNintendo-Dpad-Up-Left.png',
            alt = 'Upper-left',
        },
        ['r'] = {
            file = 'Nintendo R Button.png',
            alt = 'R',
        },
        ['l'] = {
            file = 'Nintendo L Button.png',
            alt = 'L',
        },
    },
    ['xbox'] = {
        ['a'] = {
            file = 'Xbox Button A.png',
            alt = 'A',
        },
        ['b'] = {
            file = 'Xbox Button B.png',
            alt = 'B',
        },
        ['x'] = {
            file = 'Xbox Button X.png',
            alt = 'X',
        },
        ['y'] = {
            file = 'Xbox Button Y.png',
            alt = 'Y',
        },
        ['black'] = {
            file = 'Xbox-Button-Black.png',
            alt = 'Black',
        },
        ['white'] = {
            file = 'Xbox-Button-White.png',
            alt = 'White',
        },
        ['start'] = {
            file = 'Xbox-Button-Start.png',
            alt = 'Start',
        },
        ['back'] = {
            file = 'Xbox Button Back.png',
            alt = 'Back',
        },
        ['left-right'] = {
            file = 'Xbox Dpad Left Right.png',
            alt = 'Left or right',
        },
        ['right-left'] = {
            file = 'Xbox Dpad Left Right.png',
            alt = 'Left or right',
        },
        ['up'] = {
            file = 'Xbox Dpad Up.png',
            alt = 'Up',
        },
        ['right'] = {
            file = 'Xbox Dpad Right.png',
            alt = 'Right',
        },
        ['down'] = {
            file = 'Xbox Dpad Down.png',
            alt = 'Down',
        },
        ['left'] = {
            file = 'Xbox Dpad Left.png',
            alt = 'Left',
        },
        ['up-left'] = {
            file = 'Xbox-Dpad-Up-Left.png',
            alt = 'Up-Left',
        },
        ['down-left'] = {
            file = 'Xbox-Dpad-Down-Left.png',
            alt = 'Down-Left',
        },
        ['up-right'] = {
            file = 'Xbox-Dpad-Up-Right.png',
            alt = 'Up-Right',
        },
        ['down-right'] = {
            file = 'Xbox-Dpad-Down-Right.png',
            alt = 'Down-Right',
        },
        ['rb'] = {
            file = 'XboxButton-RB.png',
            alt = 'Right bumper',
        },
        ['rt'] = {
            file = 'XboxButton-RT.png',
            alt = 'Right trigger',
        },
        ['rightstickpress'] = {
            file = 'Xbox Button R.png',
            alt = 'Right stick press',
        },
        ['lb'] = {
            file = 'XboxButton-LB.png',
            alt = 'Left bumper',
        },
        ['lt'] = {
            file = 'XboxButton-LT.png',
            alt = 'Left trigger',
        },
        ['leftstickpress'] = {
            file = 'Xbox Button L.png',
            alt = 'Left stick press',
        },
    },
    ['ouya'] = {
        ['o'] = {
            file = 'Ouya O button.png',
            alt = 'O',
        },
        ['hold o'] = {
            file = 'Ouya hold O button.png',
            alt = 'O held down',
        },
        ['mash o'] = {
            file = 'Ouya mash O button.png',
            alt = 'O mashed',
        },
        ['u'] = {
            file = 'Ouya U button.png',
            alt = 'U',
        },
        ['hold u'] = {
            file = 'Ouya hold U button.png',
            alt = 'U held down',
        },
        ['mash u'] = {
            file = 'Ouya mash U button.png',
            alt = 'U mashed',
        },
        ['y'] = {
            file = 'Ouya Y button.png',
            alt = 'Y',
        },
        ['hold y'] = {
            file = 'Ouya hold Y button.png',
            alt = 'Y held down',
        },
        ['mash y'] = {
            file = 'Ouya mash Y button.png',
            alt = 'Y mashed',
        },
        ['a'] = {
            file = 'Ouya A button.png',
            alt = 'A',
        },
        ['hold a'] = {
            file = 'Ouya hold A button.png',
            alt = 'A held down',
        },
        ['mash a'] = {
            file = 'Ouya mash A button.png',
            alt = 'A mashed',
        },
        ['menu'] = {
            file = 'Ouya Menu button.png',
            alt = 'Menu',
        },
        ['hold menu'] = {
            file = 'Ouya hold Menu button.png',
            alt = 'Menu held down',
        },
        ['mash menu'] = {
            file = 'Ouya double tap Menu button.png',
            alt = 'Menu mashed',
        },
        ['dpad'] = {
            file = 'Ouya D-pad.png',
            alt = 'D-pad',
        },
        ['rightstick'] = {
            file = 'Ouya right stick.png',
            alt = 'Right stick',
        },
        ['leftstick'] = {
            file = 'Ouya left stick.png',
            alt = 'Left stick',
        },
        ['touchpad'] = {
            file = 'Ouya touchpad.png',
            alt = 'Touchpad',
        },
        ['dpad leftright'] = {
            file = 'Ouya D-pad left or right.png',
            alt = 'D-pad left or right',
        },
        ['dpad rightleft'] = {
            file = 'Ouya D-pad left or right.png',
            alt = 'D-pad left or right',
        },
        ['dpad down-left'] = {
            file = 'Ouya D-pad down-left.png',
            alt = 'D-pad lower-left',
        },
        ['dpad down-right'] = {
            file = 'Ouya D-pad down-right.png',
            alt = 'D-pad lower-right',
        },
        ['dpad down'] = {
            file = 'Ouya D-pad down.png',
            alt = 'D-pad down',
        },
        ['dpad left'] = {
            file = 'Ouya D-pad left.png',
            alt = 'D-pad left',
        },
        ['dpad right'] = {
            file = 'Ouya D-pad right.png',
            alt = 'D-pad right',
        },
        ['dpad up-left'] = {
            file = 'Ouya D-pad up-left.png',
            alt = 'D-pad upper-left',
        },
        ['dpad up-right'] = {
            file = 'Ouya D-pad up-right.png',
            alt = 'D-pad upper-right',
        },
        ['dpad up'] = {
            file = 'Ouya D-pad up.png',
            alt = 'D-pad up',
        },
        ['leftstick down-left'] = {
            file = 'Ouya left stick down-left.png',
            alt = 'Left stick down-left',
        },
        ['leftstick down-right'] = {
            file = 'Ouya left stick down-right.png',
            alt = 'Left stick down-right',
        },
        ['leftstick down'] = {
            file = 'Ouya left stick down.png',
            alt = 'Left stick down',
        },
        ['leftstick left'] = {
            file = 'Ouya left stick left.png',
            alt = 'Left stick left',
        },
        ['leftstick right'] = {
            file = 'Ouya left stick right.png',
            alt = 'Left stick right',
        },
        ['leftstick up-left'] = {
            file = 'Ouya left stick up-left.png',
            alt = 'Left stick up-left',
        },
        ['leftstick up-right'] = {
            file = 'Ouya left stick up-right.png',
            alt = 'Left stick up-right',
        },
        ['leftstick up'] = {
            file = 'Ouya left stick up.png',
            alt = 'Left stick up',
        },
        ['leftstick clockwise'] = {
            file = 'Ouya left stick rotate clockwise.png',
            alt = 'Left stick rotate clockwise',
        },
        ['leftstick counterclockwise'] = {
            file = 'Ouya left stick rotate counterclockwise.png',
            alt = 'Left stick rotate counterclockwise',
        },
        ['rightstick down-left'] = {
            file = 'Ouya right stick down-left.png',
            alt = 'right stick down-left',
        },
        ['rightstick down-right'] = {
            file = 'Ouya right stick down-right.png',
            alt = 'right stick down-right',
        },
        ['rightstick down'] = {
            file = 'Ouya right stick down.png',
            alt = 'right stick down',
        },
        ['rightstick left'] = {
            file = 'Ouya right stick left.png',
            alt = 'right stick left',
        },
        ['rightstick right'] = {
            file = 'Ouya right stick right.png',
            alt = 'right stick right',
        },
        ['rightstick up-left'] = {
            file = 'Ouya right stick up-left.png',
            alt = 'right stick up-left',
        },
        ['rightstick up-right'] = {
            file = 'Ouya right stick up-right.png',
            alt = 'right stick up-right',
        },
        ['rightstick up'] = {
            file = 'Ouya right stick up.png',
            alt = 'right stick up',
        },
        ['rightstick clockwise'] = {
            file = 'Ouya right stick rotate clockwise.png',
            alt = 'right stick rotate clockwise',
        },
        ['rightstick counterclockwise'] = {
            file = 'Ouya right stick rotate counterclockwise.png',
            alt = 'right stick rotate counterclockwise',
        },
        ['touchpad circle'] = {
            file = 'Ouya touchpad circle.png',
            alt = 'Touchpad circle',
        },
        ['touchpad cursor'] = {
            file = 'Ouya touchpad cursor.png',
            alt = 'Touchpad cursor',
        },
        ['touchpad doubletap'] = {
            file = 'Ouya touchpad double tap.png',
            alt = 'Touchpad double tap',
        },
        ['touchpad multitap'] = {
            file = 'Ouya touchpad multi tap.png',
            alt = 'Touchpad multi tap',
        },
        ['touchpad scribble'] = {
            file = 'Ouya touchpad scribble.png',
            alt = 'Touchpad scribble',
        },
        ['touchpad swipe down-left'] = {
            file = 'Ouya touchpad swipe down-left.png',
            alt = 'Touchpad lower-left swipe',
        },
        ['touchpad swipe down-right'] = {
            file = 'Ouya touchpad swipe down-right.png',
            alt = 'Touchpad lower-right swipe',
        },
        ['touchpad swipe down'] = {
            file = 'Ouya touchpad swipe down.png',
            alt = 'Touchpad downward swipe',
        },
        ['touchpad swipe left'] = {
            file = 'Ouya touchpad swipe left.png',
            alt = 'Touchpad left swipe',
        },
        ['touchpad swipe right'] = {
            file = 'Ouya touchpad swipe right.png',
            alt = 'Touchpad right swipe',
        },
        ['touchpad swipe up-left'] = {
            file = 'Ouya touchpad swipe up-left.png',
            alt = 'Touchpad upper-left swipe',
        },
        ['touchpad swipe up-right'] = {
            file = 'Ouya touchpad swipe up-right.png',
            alt = 'Touchpad upper-right swipe',
        },
        ['touchpad swipe up'] = {
            file = 'Ouya touchpad swipe up.png',
            alt = 'Touchpad upward swipe',
        },
        ['touchpad tap'] = {
            file = 'Ouya touchpad tap.png',
            alt = 'Touchpad tap',
        },
        ['l1'] = {
            file = 'Ouya L1 button.png',
            alt = 'L1',
        },
        ['hold l1'] = {
            file = 'Ouya hold L1 button.png',
            alt = 'L1 held down',
        },
        ['mash l1'] = {
            file = 'Ouya mash L1 button.png',
            alt = 'L1 mashed',
        },
        ['l2'] = {
            file = 'Ouya L2 button.png',
            alt = 'L2',
        },
        ['l2 partway'] = {
            file = 'Ouya L2 button partway.png',
            alt = 'L2 partway',
        },
        ['hold l2'] = {
            file = 'Ouya hold L2 button.png',
            alt = 'L2 held down',
        },
        ['hold l2 partway'] = {
            file = 'Ouya hold L2 button partway.png',
            alt = 'L2 partway held down',
        },
        ['mash l2'] = {
            file = 'Ouya mash L2 button.png',
            alt = 'L2 mashed',
        },
        ['l3'] = {
            file = 'Ouya L3 button.png',
            alt = 'L3',
        },
        ['l3 doubleclick'] = {
            file = 'Ouya double click L3 button.png',
            alt = 'L3 double click',
        },
        ['r1'] = {
            file = 'Ouya R1 button.png',
            alt = 'r1',
        },
        ['hold r1'] = {
            file = 'Ouya hold R1 button.png',
            alt = 'L1 held down',
        },
        ['mash r1'] = {
            file = 'Ouya mash R1 button.png',
            alt = 'L1 mashed',
        },
        ['r2'] = {
            file = 'Ouya R2 button.png',
            alt = 'R2',
        },
        ['r2 partway'] = {
            file = 'Ouya R2 button partway.png',
            alt = 'R2 partway',
        },
        ['hold r2'] = {
            file = 'Ouya hold R2 button.png',
            alt = 'R2 held down',
        },
        ['hold r2 partway'] = {
            file = 'Ouya hold R2 button partway.png',
            alt = 'R2 partway held down',
        },
        ['mash r2'] = {
            file = 'Ouya mash R2 button.png',
            alt = 'R2 mashed',
        },
        ['r3'] = {
            file = 'Ouya R3 button.png',
            alt = 'R3',
        },
        ['r3 doubleclick'] = {
            file = 'Ouya double click R3 button.png',
            alt = 'R3 double click',
        },
    },
}
Community content is available under CC-BY-SA unless otherwise noted.