Module:Keys/Symbols

From The Satanic Wiki
Jump to navigation Jump to search

Documentation for this module may be created at Module:Keys/Symbols/doc

local i18n = require('Module:I18n').loadMessages('Keys/Symbols')

return {
	['caps lock'] = '⮸ Caps Lock',
	['control'] = 'Ctrl',
	['shift'] = '⇧ Shift',
	['lshift'] = i18n:msg('lshift'),
	['rshift'] = i18n:msg('rshift'),
	['enter'] = '↵ Enter',
	['return'] = '↵ Return',
	['cmd'] = '⌘ Cmd',
	['command'] = '⌘ Command',
	['opt'] = '⌥ Opt',
	['option'] = '⌥ Option',
	['tab'] = 'Tab ↹',
	['backspace'] = '← Backspace',
	['win'] = '⊞ Win',
	['windows'] = '⊞ Windows',
	['super'] = '⊞ Super',
	['menu'] = '≣ Menu',
	['up'] = '↑',
	['down'] = '↓',
	['left'] = '←',
	['right'] = '→',
	['*'] = '<nowiki/>*',
	['#'] = '<nowiki/>#',
	[':'] = '<nowiki/>:',

	-- 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'] = '▶',

	-- Français
	['verr maj'] = '⇪ Verr Maj',
	['maj'] = '⇧ Maj',
	['entrée'] = '↵ Entrée',
	['retour'] = '⌫ Retour',
	['méta'] = '⊞ Méta',
	['haut'] = '↑',
	['bas'] = '↓',
	['gauche'] = '←',
	['droite'] = '→',

	-- Português
	['cima'] = '↑',
	['baixo'] = '↓',
	['esquerda'] = '←',
	['direita'] = '→',
	
}