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 /> ==Motivation== GIMX can be run from a Linux terminal without having to run a windowing system.<br /> This improves performances, especially on small targets like the [[RPi|Raspberry Pi]] or [http://en.wikipedia.org/wiki/Thin_client thin clients].<br /> It's also useful for other stuff like automation. ==Linux + bluetooth + PS3== ===Set the dongle address=== '''It is highly recommended to use a CSR Bluecore4-rom dongle. Check the [[Bluetooth_dongle|compatibility list]].''' Plug a Sixaxis previously [[FAQ#Why_can.27t_we_use_any_bluetooth_address.3F|paired]] with the target PS3. Type in a terminal: sixaddr Result: Current Bluetooth master: ps3_bt_address Current Bluetooth Device Address: sixaxis_bt_address Get the current dongle address: bdaddr -i hciN where N is the dongle index (type "hciconfig -a" to see all dongles). Write it down so as to be able to restore it later. Set the dongle address: bdaddr -r -i hciN sixaxis_bt_address Check the result: bdaddr -i hciN ===Run GIMX=== In a terminal:<br /> gimx --type Sixaxis --config filename --hci bt_device_index --bdaddr ps3_bt_address * file_name :The name of the config file, in the ~/.gimx/config directory (ex : toto.xml).<br /> :This argument is mandatory.<br /> :Use backslashes to escape spaces. * bt_device_index :The bluetooth device index (ex : 0 for hci0, 1 for hci1, etc).<br /> :This argument is optional, default device index is 0. * ps3_bt_address :This argument is mandatory. ==Linux + bluetooth + PS4== ===Setup=== The setup performs the bluetooth pairing between the PS4 and the dongle, and between the dongle and the DS4.<br /> It has to be run again if the DS4 is reused (i.e. paired again) with the PS4. Download the helper script: wget <nowiki>https://raw.github.com/matlo/GIMX-tools/master/PS4/gimx-ps4-helper.sh</nowiki> -O gimx-ps4-helper.sh Make it executable: chmod +x gimx-ps4-helper.sh Run it: sudo ./gimx-ps4-helper.sh Simply follow the instructions. A successful output should look like this: $ sudo ./gimx-ps4-setup.sh Unplug any Dualshock 4. Unplug any teensy. Unpug the bluetooth dongle. Then press enter. Plug the bluetooth dongle. The bluetooth dongle address is XX:XX:XX:XX:XX:XX. The bluetooth hci number is 1. Plug the DS4 with a USB cable. The DS4 address is YY:YY:YY:YY:YY:YY. Unplug the DS4. Plug the teensy. Unplug the teensy. Plug the teensy to the PS4, and wait a few seconds. Then plug the teensy back to the PC. The PS4 address is ZZ:ZZ:ZZ:ZZ:ZZ:ZZ. Everything was successful: setting dongle link keys. To run gimx, type: gimx -t DS4 -c config.xml -h 1 -b ZZ:ZZ:ZZ:ZZ:ZZ:ZZ ===Run GIMX=== 1. The bluetooth service has to be stopped before starting GIMX (this allows GIMX to get incoming connections): sudo service bluetooth stop You may also have to deactivate the bluetooth service if your system starts it automatically. 2. Start GIMX: gimx -t DS4 -c <config file> -h <hci number> -b <PS4 bdaddr> <config file> is the name of the config file to use.<br /> <hci number> is the bluetooth hci number, for example 0 if there is only one bluetooth adapter (internal or external). Run 'hciconfig' if you're not sure about this value.<br /> <PS4 bdaddr> is the address of the PS4.<br /> 3. Start the DS4. It should connect to GIMX, which in turn should connect to the PS4. ==Linux or Windows + DIY USB adapter== In a terminal:<br /> gimx --config file_name --port /dev/ttyUSBX or gimx -c file_name -p /dev/ttyUSBX gimx options: * --config file_name :The name of the config file, in the ~/.gimx/config directory (ex : toto.xml).<br /> :This argument is mandatory. * --port /dev/ttyUSB0 :The serial port. Ex: /dev/ttyUSB0 in Linux, COM4 in windows.<br /> :Only mandatory for the DIY USB adapter. * --refresh 4 :The refresh period, in ms.<br /> :Optional. Forcing the refresh period is not recommended. ==Linux or Windows + GPP/Cronus/Titan== In a terminal:<br /> gimx --config file_name --type GPP or gimx -c file_name -t GPP gimx options: * --config file_name :The name of the config file, in the ~/.gimx/config directory (ex : toto.xml).<br /> :This argument is mandatory. * --refresh 4 :The refresh period, in ms.<br /> :Optional. Forcing the refresh period is not recommended. ==Linux or Windows + Remote GIMX== In a terminal:<br /> gimx --config file_name --dst IP:port or gimx -c file_name -d IP:port gimx options: * --config file_name :The name of the config file, in the ~/.gimx/config directory (ex : toto.xml).<br /> :This argument is mandatory. * --dst IP:port :The destination IP+port. Ex: 127.0.0.1:51914.<br /> :The remote GIMX has to be started with the --src argument, with the same IP:port value. ==Test mode== It's possible to run GIMX with no output connection. This is useful for testing and debugging.<br /> To activate the test mode, remove the --dst, --bdaddr and --port arguments, and add a --type argument.<br /> The possible values for the --type argument are: joystick, 360pad, Sixaxis, PS2pad, XboxPad, DS4, T300RS_PS4, G27_PS3 and G29_PS4.<br /> Example: gimx -c config.xml --status -t DS4 ==Multiple controllers== A --bdaddr, --port or --dst argument finishes the current controller options.<br /> Further non-global options apply to further controller instances. ==Global options== These options apply to all controller instances. * --curses :[http://en.wikipedia.org/wiki/Curses_%28programming_library%29 curses] terminal display.<br /> :Mouse calibration is available through this interface. * --status :Display controls in the terminal. * --nograb :Do not grab the mouse cursor. * --force-updates :Send button+axis status even if there is no change (for compatibility with games like DNF). * --subpos :Improve stick precision (counteract rounding issues). * --window-events :Read window events instead of hardware events. This allows to use GIMX with emulated devices (virtual keyboard/mouse) and with scripting tools such as AutoHotkey (Windows) or xdotool (Linux). * --keygen key :Generate a key press at gimx startup.<br /> :The main use case for this is the automation of macro's execution.<br /> :Events that are not generated by macros are ignored.<br /> :Another use case is the sending of a single command (it requires to use a macro as no key up event is generated). * --skip_leds :Filter out set led commands from FFB command stream (performance tweak for G27/G29 wheels on small targets). ==Controller options== * --event "name(value)" :It's possible to send controls to the console from the command line, without having to create a configuration and macros to use with the --keygen argument. :The names and value ranges can be found on the [[Controller_Maps|Controller Maps]] page. :Example: gimx --event "rel_axis_0(127)" --event "rel_axis_3(-128)" --event "abs_axis_8(255)" --event "abs_axis_10(0)" -d 127.0.0.1:51914 :For a Sixaxis controller, this moves the left stick right, the right stick forward, fully presses the circle button, and releases the square button. :The state of all other controls is cleared, i.e. all other buttons and axes are released (in the above command, --event "abs_axis_10(0)" is not necessary). :gimx should complete in about 10ms. :When using events, it is recommended to run two gimx instances, especially in the following cases: :* the target console a PS4 (one gimx instance has to be connected all the time because of the authentication) :* the connection method is bluetooth (a bluetooth connection takes some time to establish) :Example: gimx --src 127.0.0.1:51914 -t Sixaxis -b XX:XX:XX:XX:XX:XX gimx --event "abs_axis_10(255)" --dst 127.0.0.1:51914 * --src IP:port :Specifies a source IP+port to listen on. Ex: 127.0.0.1:51914.
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