Export translations
Jump to:
navigation
,
search
Settings
Group
Axis translation parameters
Bluetooth dongle
Command line
Compatibility
Config Editors
Contribute
Development on Linux
Development on Windows
DIY USB adapter
DIY USB adapter for dummies
FAQ
Features
Force Feedback
Gimx-fpsconfig
Installation
Macros
Main Page Old
Mouse Calibration
Mouse tweaks
Quick Start
RPi
Template:Deprecated
Template:Firmwares
Translate
Language
aa - Afar
ab - Abkhazian
ace - Achinese
ady - Adyghe
ady-cyrl - адыгабзэ
aeb - Tunisian Arabic
aeb-arab - تونسي
aeb-latn - Tûnsî
af - Afrikaans
ak - Akan
aln - Gheg Albanian
am - Amharic
an - Aragonese
ang - Old English
anp - Angika
ar - Arabic
arc - Aramaic
arn - Mapuche
arq - Algerian Arabic
ary - Moroccan Arabic
arz - Egyptian Arabic
as - Assamese
ase - American Sign Language
ast - Asturian
atj - Atikamekw
av - Avaric
avk - Kotava
awa - Awadhi
ay - Aymara
az - Azerbaijani
azb - South Azerbaijani
ba - Bashkir
ban - Balinese
bar - Bavarian
bbc - Batak Toba
bbc-latn - Batak Toba
bcc - Southern Balochi
bcl - Central Bikol
be - Belarusian
be-tarask - Belarusian (Taraškievica orthography)
bg - Bulgarian
bgn - Western Balochi
bho - Bhojpuri
bi - Bislama
bjn - Banjar
bm - Bambara
bn - Bangla
bo - Tibetan
bpy - Bishnupriya
bqi - Bakhtiari
br - Breton
brh - Brahui
bs - Bosnian
bto - Iriga Bicolano
bug - Buginese
bxr - Russia Buriat
ca - Catalan
cbk-zam - Chavacano
cdo - Min Dong Chinese
ce - Chechen
ceb - Cebuano
ch - Chamorro
cho - Choctaw
chr - Cherokee
chy - Cheyenne
ckb - Central Kurdish
co - Corsican
cps - Capiznon
cr - Cree
crh - Crimean Turkish
crh-cyrl - Crimean Turkish (Cyrillic script)
crh-latn - Crimean Turkish (Latin script)
cs - Czech
csb - Kashubian
cu - Church Slavic
cv - Chuvash
cy - Welsh
da - Danish
de - German
de-at - Austrian German
de-ch - Swiss High German
de-formal - German (formal address)
din - Dinka
diq - Zazaki
dsb - Lower Sorbian
dtp - Central Dusun
dty - Doteli
dv - Divehi
dz - Dzongkha
ee - Ewe
egl - Emilian
el - Greek
eml - Emiliano-Romagnolo
en - English
en-ca - Canadian English
en-gb - British English
eo - Esperanto
es - Spanish
es-formal - español (formal)
et - Estonian
eu - Basque
ext - Extremaduran
fa - Persian
ff - Fulah
fi - Finnish
fit - Tornedalen Finnish
fj - Fijian
fo - Faroese
fr - French
frc - Cajun French
frp - Arpitan
frr - Northern Frisian
fur - Friulian
fy - Western Frisian
ga - Irish
gag - Gagauz
gan - Gan Chinese
gan-hans - Simplified Gan script
gan-hant - Traditional Gan script
gcr - kréyòl gwiyanè
gd - Scottish Gaelic
gl - Galician
glk - Gilaki
gn - Guarani
gom - Goan Konkani
gom-deva - Goan Konkani (Devanagari script)
gom-latn - Goan Konkani (Latin script)
gor - Gorontalo
got - Gothic
grc - Ancient Greek
gsw - Swiss German
gu - Gujarati
gv - Manx
ha - Hausa
hak - Hakka Chinese
haw - Hawaiian
he - Hebrew
hi - Hindi
hif - Fiji Hindi
hif-latn - Fiji Hindi (Latin script)
hil - Hiligaynon
ho - Hiri Motu
hr - Croatian
hrx - Hunsrik
hsb - Upper Sorbian
ht - Haitian Creole
hu - Hungarian
hu-formal - magyar (formal)
hy - Armenian
hz - Herero
ia - Interlingua
id - Indonesian
ie - Interlingue
ig - Igbo
ii - Sichuan Yi
ik - Inupiaq
ike-cans - Eastern Canadian (Aboriginal syllabics)
ike-latn - Eastern Canadian (Latin script)
ilo - Iloko
inh - Ingush
io - Ido
is - Icelandic
it - Italian
iu - Inuktitut
ja - Japanese
jam - Jamaican Creole English
jbo - Lojban
jut - Jutish
jv - Javanese
ka - Georgian
kaa - Kara-Kalpak
kab - Kabyle
kbd - Kabardian
kbd-cyrl - Адыгэбзэ
kbp - Kabiye
kg - Kongo
khw - Khowar
ki - Kikuyu
kiu - Kirmanjki
kj - Kuanyama
kk - Kazakh
kk-arab - Kazakh (Arabic script)
kk-cn - Kazakh (China)
kk-cyrl - Kazakh (Cyrillic script)
kk-kz - Kazakh (Kazakhstan)
kk-latn - Kazakh (Latin script)
kk-tr - Kazakh (Turkey)
kl - Kalaallisut
km - Khmer
kn - Kannada
ko - Korean
ko-kp - 한국어 (조선)
koi - Komi-Permyak
kr - Kanuri
krc - Karachay-Balkar
kri - Krio
krj - Kinaray-a
krl - Karelian
ks - Kashmiri
ks-arab - Kashmiri (Arabic script)
ks-deva - Kashmiri (Devanagari script)
ksh - Colognian
ku - Kurdish
ku-arab - كوردي (عەرەبی)
ku-latn - Kurdish (Latin script)
kum - Kumyk
kv - Komi
kw - Cornish
ky - Kyrgyz
la - Latin
lad - Ladino
lb - Luxembourgish
lbe - Lak
lez - Lezghian
lfn - Lingua Franca Nova
lg - Ganda
li - Limburgish
lij - Ligurian
liv - Livonian
lki - Laki
lmo - Lombard
ln - Lingala
lo - Lao
loz - Lozi
lrc - Northern Luri
lt - Lithuanian
ltg - Latgalian
lus - Mizo
luz - Southern Luri
lv - Latvian
lzh - Literary Chinese
lzz - Laz
mai - Maithili
map-bms - Basa Banyumasan
mdf - Moksha
mg - Malagasy
mh - Marshallese
mhr - Eastern Mari
mi - Maori
min - Minangkabau
mk - Macedonian
ml - Malayalam
mn - Mongolian
mo - молдовеняскэ
mr - Marathi
mrj - Western Mari
ms - Malay
mt - Maltese
mus - Creek
mwl - Mirandese
my - Burmese
myv - Erzya
mzn - Mazanderani
na - Nauru
nah - Nāhuatl
nan - Min Nan Chinese
nap - Neapolitan
nb - Norwegian Bokmål
nds - Low German
nds-nl - Low Saxon
ne - Nepali
new - Newari
ng - Ndonga
niu - Niuean
nl - Dutch
nl-informal - Nederlands (informeel)
nn - Norwegian Nynorsk
nov - Novial
nrm - Norman
nso - Northern Sotho
nv - Navajo
ny - Nyanja
nys - Nyunga
oc - Occitan
olo - Livvi-Karelian
om - Oromo
or - Odia
os - Ossetic
pa - Punjabi
pag - Pangasinan
pam - Pampanga
pap - Papiamento
pcd - Picard
pdc - Pennsylvania German
pdt - Plautdietsch
pfl - Palatine German
pi - Pali
pih - Norfuk / Pitkern
pl - Polish
pms - Piedmontese
pnb - Western Punjabi
pnt - Pontic
prg - Prussian
ps - Pashto
pt - Portuguese
pt-br - Brazilian Portuguese
qu - Quechua
qug - Chimborazo Highland Quichua
rgn - Romagnol
rif - Riffian
rm - Romansh
rmy - Romani
rn - Rundi
ro - Romanian
roa-tara - Tarantino
ru - Russian
rue - Rusyn
rup - Aromanian
ruq - Megleno-Romanian
ruq-cyrl - Megleno-Romanian (Cyrillic script)
ruq-latn - Megleno-Romanian (Latin script)
rw - Kinyarwanda
sa - Sanskrit
sah - Sakha
sat - Santali
sc - Sardinian
scn - Sicilian
sco - Scots
sd - Sindhi
sdc - Sassarese Sardinian
sdh - Southern Kurdish
se - Northern Sami
sei - Seri
ses - Koyraboro Senni
sg - Sango
sgs - Samogitian
sh - Serbo-Croatian
shi - Tachelhit
shi-latn - Tašlḥiyt
shi-tfng - ⵜⴰⵛⵍⵃⵉⵜ
shn - Shan
si - Sinhala
sk - Slovak
skr - سرائیکی
skr-arab - سرائیکی
sl - Slovenian
sli - Lower Silesian
sm - Samoan
sma - Southern Sami
sn - Shona
so - Somali
sq - Albanian
sr - Serbian
sr-ec - Serbian (Cyrillic script)
sr-el - Serbian (Latin script)
srn - Sranan Tongo
ss - Swati
st - Southern Sotho
stq - Saterland Frisian
sty - cебертатар
su - Sundanese
sv - Swedish
sw - Swahili
szl - Silesian
ta - Tamil
tay - Tayal
tcy - Tulu
te - Telugu
tet - Tetum
tg - Tajik
tg-cyrl - Tajik (Cyrillic script)
tg-latn - Tajik (Latin script)
th - Thai
ti - Tigrinya
tk - Turkmen
tl - Tagalog
tly - Talysh
tn - Tswana
to - Tongan
tpi - Tok Pisin
tr - Turkish
tru - Turoyo
ts - Tsonga
tt - Tatar
tt-cyrl - Tatar (Cyrillic script)
tt-latn - Tatar (Latin script)
tum - Tumbuka
tw - Twi
ty - Tahitian
tyv - Tuvinian
tzm - Central Atlas Tamazight
udm - Udmurt
ug - Uyghur
ug-arab - Uyghur (Arabic script)
ug-latn - Uyghur (Latin script)
uk - Ukrainian
ur - Urdu
uz - Uzbek
uz-cyrl - ўзбекча
uz-latn - oʻzbekcha
ve - Venda
vec - Venetian
vep - Veps
vi - Vietnamese
vls - West Flemish
vmf - Main-Franconian
vo - Volapük
vot - Votic
vro - Võro
wa - Walloon
war - Waray
wo - Wolof
wuu - Wu Chinese
xal - Kalmyk
xh - Xhosa
xmf - Mingrelian
yi - Yiddish
yo - Yoruba
yue - Cantonese
za - Zhuang
zea - Zeelandic
zh - Chinese
zh-cn - Chinese (China)
zh-hans - Simplified Chinese
zh-hant - Traditional Chinese
zh-hk - Chinese (Hong Kong)
zh-mo - 中文(澳門)
zh-my - 中文(马来西亚)
zh-sg - Chinese (Singapore)
zh-tw - Chinese (Taiwan)
zu - Zulu
qqq - Message documentation
Format
Export for off-line translation
Export in native format
<languages /> It's possible to configure keyboard/mouse/joystick macros: a key or button press can trigger a series of keyboard/mouse/joystick events, with timing conditions. ==Directory== Macros have to be defined in files saved into: * Ubuntu: the ~/.gimx/macros directory. ~ is the home directory, and .gimx folder is hidden (in the file manager, press ctrl+h to display hidden folders). * Windows: the C:\Users\<username>\AppData\Roaming\gimx\macros directory. GIMX 1.12 and older: * Ubuntu: the ~/.emuclient/macros directory. ~ is the home directory, and .emuclient folder is hidden (in the file manager, press ctrl+h to display hidden folders). * Windows: the C:\Users\<username>\AppData\Roaming\emuclient\macros directory. GIMX 0.51 and older: * Windows 32bits: the C:\Program Files\GIMX\macros directory. * Windows 64bits: the C:\Program Files (x86)\GIMX\macros directory. ==Syntax== <pre>MACRO <DEVICE EVENT> <ID> <RANGE> <DEVICE EVENT> <ID> <VALUE> DELAY <MS> #<COMMENT></pre> *<DEVICE EVENT>: KEYDOWN, KEYUP, MBUTTON, MBUTTONDOWN, MBUTTONUP, JBUTTON, JBUTTONDOWN, JBUTTONUP, MAXIS, JAXIS *<ID>: the event id (case sensitive) as displayed in gimx-config *<VALUE>: the axis value (only for MAXIS and JAXIS) *<RANGE>: the axis range (only for MAXIS and JAXIS); the syntax is [min,max] with min and max in [-32768,32767]; example: [8192,16384] *<MS>: integer value in milliseconds *<COMMENT>: a comment, not interpreted ('#' is the first character of the line) ==Commands== * KEYDOWN: keyboard key pressed * KEYUP: keyboard key released * KEY: KEYDOWN + DELAY 50 + KEYUP * MBUTTONDOWN: mouse button pressed * MBUTTONUP: mouse button released * MBUTTON: MBUTTONDOWN + DELAY 50 + MBUTTONUP * JBUTTONDOWN: joystick button pressed * JBUTTONUP: joystick button released * JBUTTON: JBUTTONDOWN + DELAY 50 + JBUTTONUP * DELAY: delay in milliseconds * MAXIS: mouse axis moved; ID: 0 for x axis, and 1 for y axis; VALUE: positive values for right and down * JAXIS: joystick axis moved; ID: the axis id as displayed in gimx-config; VALUE: in [-32768 .. 32767] for centered axes, and in [0 .. 32767] for non-centered axes ==Macro activation== This section is only applicable since GIMX 1.00. It is possible to specify the macro files to be read for each configuration file.<br /> This can be configured in a file named "configs.txt", located in the macros directory.<br /> Example: <pre>#If config1.xml is loaded, macro1.txt is read. config1.xml/macro1.txt #If config1.xml is loaded, macro2.txt is read. config1.xml/macro2.txt #If config2.xml is loaded, macro2.txt is read. config2.xml/macro2.txt</pre> Lines beginning with a # are not interpreted.<br /> Since GIMX 4.0 the separator is a slash so as to allow using file names containing spaces.<br /> It is also possible to define activation triggers within the macro definition.<br /> The syntax is: <pre>TRIGGER <event></pre> Example: <pre>MACRO F1 #content MACRO F2 TRIGGER F5 #content MACRO F3 TRIGGER F6 #content MACRO F4 TRIGGER F5 #content</pre> With GIMX 1.12 and earlier, the above example works the following way:<br /> F1 remains active all the time as there is no trigger specified.<br /> F2 and F4 are default active. If F6 is pressed, F3 becomes active, F2 and F4 become inactive.<br /> With GIMX 2.00:<br /> Macros with a trigger are default inactive. To make a macro with trigger default active, add a line containing "INIT ON" after the "TRIGGER <event>" line.<br /> Macros with a trigger can work with a toggle mode, which allows to activate and deactivate a macro autonomously: activating a togglable macro has no impact on other macros, and activating another macro has no impact on a togglable macro. This can be configured adding a line containing "TOGGLE YES" after the "TRIGGER <event>" line.<br /> Example: <pre>MACRO F1 TRIGGER 1 INIT ON TOGGLE YES #content</pre> ==Notes== ===Delay precision=== The delay precision depends on the controller update period: * ds3/bluetooth = 11.25ms * ds3/usb = 10ms * ds4/bluetooth = 10ms * ds4/usb = 10ms * 360 pad = 8ms * XOne pad = 4ms If you specify a delay that is not a multiple of the precision, the resulting delay will be the lowest multiple of the precision higher than the specified delay.<br /> For example, if the precision is 11.25ms and the delay is 12ms, the resulting delay will be 22.50ms (=2*11.25ms). ===Macro loop=== To make a macro loop, just add a matching KEYDOWN, MBUTTONDOWN or JBUTTONDOWN command at the end of the macro.<br /> Example: <pre>MACRO MBUTTONDOWN BUTTON_LEFT #content MBUTTONDOWN BUTTON_LEFT</pre> The macro is triggered by pressing 'BUTTON_LEFT'.<br /> The last command of the macro restarts the macro, creating a loop.<br /> To stop a macro loop, just press the trigger again. The macro is stopped immediately, and the state of the controller is unchanged. ===Multiple keyboards/mice/joysticks=== In case multiple keyboards or mice or joysticks are used, it's not possible to specify the device for which events are generated.<br /> Events are generated for the first keyboard/mouse/joystick found in the configuration. ==Examples== ===Rapid fire macro=== <pre>MACRO MBUTTONDOWN BUTTON_LEFT KEYDOWN p #Set delay no less than the maximum rate of fire #10 rounds per second (600 rpm) DELAY 100 KEYUP p #~Do not set delay after keyup or it will negatively impact automatic weapons MBUTTONDOWN BUTTON_LEFT MACRO MBUTTONUP BUTTON_LEFT MBUTTONDOWN BUTTON_LEFT #Sometimes the fire key can be stuck down after the macro ends this releases it after the macro has been terminated KEYUP p</pre> In gimx-config, bind 'p' to r1 in both hip fire and ADS profiles (profiles 1 and 2).<br /> DO NOT bind 'BUTTON_LEFT' to r1 in both hip fire and ADS profiles. The macro is triggered by pressing the left mouse button.<br /> The last command of the first macro restarts the macro, creating a loop.<br /> Upon the release of the left mouse button the second macro ends the loop of the first macro. ===Recoil macro=== <pre>MACRO KEYDOWN o MAXIS 1 25 KEYDOWN o MACRO MBUTTONDOWN BUTTON_LEFT KEYDOWN o MACRO MBUTTONUP BUTTON_LEFT KEYDOWN o</pre> Change '25' with the value that cancels the recoil.
Navigation menu
Personal tools
English
Create account
Log in
Namespaces
Special page
Variants
Views
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version