Module:Keys/Symbols

From Miranda NG
< Module:Keys
Revision as of 14:20, 28 November 2015 by Goraf (talk | contribs) (+mouse)
Jump to navigation Jump to search
Module documentation[view] [edit] [history] [purge]

This table contains the symbols for {{Hotkey}}. It is loaded by Module:Keys.

return {
	['caps lock'] = '⇪ Caps Lock',
	['shift'] = '⇧ Shift',
	['lshift'] = '⇧ Left Shift',
	['rshift'] = '⇧ Right Shift',
	['enter'] = '↵ Enter',
	['cmd'] = '⌘ Cmd',
	['command'] = '⌘ Command',
	['opt'] = '⌥ Opt',
	['option'] = '⌥ Option',
	['tab'] = 'Tab ↹',
	['backspace'] = '← Backspace',
	['win'] = '⊞ Win',
	['super'] = '⊞ Super',
	['menu'] = '≣ Menu',
	['windows'] = '⊞ Windows',
	['up'] = '↑',
	['down'] = '↓',
	['left'] = '←',
	['right'] = '→',
	
	-- Mouse
	['lmb'] = 'LMB [[File:Mouse-LMB.png|sub]]',
	['mmb'] = 'MMB [[File:Mouse-MMB.png|sub]]',
	['rmb'] = 'RMB [[File:Mouse-RMB.png|sub]]',
	['wheelup']  = 'WheelUp [[File:Mouse-MWUP.png|sub]]',
	['wheeldown'] = 'WheelDown [[File:Mouse-MWD.png|sub]]',
	['wheel'] = 'Wheel [[File:Mouse-MW.png|sub]]',
	
	-- Left & right analog sticks
	['l-up'] = 'L↑',
	['l up'] = 'L↑',
	['l-down'] = 'L↓',
	['l down'] = 'L↓',
	['l-left'] = 'L←',
	['l left'] = 'L←',
	['l-right'] = 'L→',
	['l right'] = 'L→',
	['l-ne'] = 'L↗',
	['l ne'] = 'L↗',
	['l-se'] = 'L↘',
	['l se'] = 'L↘',
	['l-nw'] = 'L↖',
	['l nw'] = 'L↖',
	['l-sw'] = 'L↙',
	['l sw'] = 'L↙',
	
	['r-up'] = 'R↑',
	['r up'] = 'R↑',
	['r-down'] = 'R↓',
	['r down'] = 'R↓',
	['r-left'] = 'R←',
	['r left'] = 'R←',
	['r-right'] = 'R→',
	['r right'] = 'R→',
	['r-ne'] = 'R↗',
	['r ne'] = 'R↗',
	['r-se'] = 'R↘',
	['r se'] = 'R↘',
	['r-nw'] = 'R↖',
	['r nw'] = 'R↖',
	['r-sw'] = 'R↙',
	['r sw'] = 'R↙',
	
	-- PlayStation
	['ps x'] = '×',
	['ex'] = '×',
	['ps c'] = '○',
	['circle'] = '○',
	['ps s'] = '□',
	['square'] = '□',
	['ps t'] = '△',
	['triangle'] = '△',
	
	-- Nintendo 64 & GameCube
	['c-up'] = 'C↑',
	['c up'] = 'C↑',
	['c-down'] = 'C↓',
	['c down'] = 'C↓',
	['c-left'] = 'C←',
	['c left'] = 'C←',
	['c-right'] = 'C→',
	['c right'] = 'C→',
	['c-ne'] = 'C↗',
	['c ne'] = 'C↗',
	['c-se'] = 'C↘',
	['c se'] = 'C↘',
	['c-nw'] = 'C↖',
	['c nw'] = 'C↖',
	['c-sw'] = 'C↙',
	['c sw'] = 'C↙',
	
	-- Xbox Controller
	['xb-a'] = 'Ⓐ',
	['xb-b'] = 'Ⓑ',
	['xb-x'] = 'Ⓧ',
	['xb-y'] = 'Ⓨ',
	['xb-lb'] = '╼',
	['xb-rb'] = '╾',
	['xb-lt'] = '⟅',
	['xb-rt'] = '⟆',
	['xb-back'] = '◀',
	['xb-start'] = '▶'
}