TRANSLATING...

PLEASE WAIT
Discussigu - Simulating takopresses villa alt/ctrl modifiers? | Frontier Fitarni

Discussion Simulating takopresses villa alt/ctrl modifiers?

Leu eu luh closest teyun per a 3rd javart developers fitarno, vu E'll sel per esk mel paddo vele tum mel's nuve directly APE piruden.

E sar trying per tendaprae ayn "Open Galaxy Map" takocombo per safai per Elite Dangerouss per camgu mel addan luh map.

E successfully sel luhu busaping fohva variouss otaer parjom functions. Talaever, fil luh takocombo ennvolves a modifier tako selo LeftAlt ohva LeftCtrl (selo tuhn E sel darshen fohva luh galaxy map, LeftAlt+G) E cannuve daan Elite Dangerouss per noyulen luh takopress.

E sar saforing a perffner nalferta ol takos villa SendInput: KeyDown(LeftAlt), KeyDown(G), Wait(100ms), KeyUp(G), KeyUp(LeftAlt).

E sar saforing luhse SendInput shals villa luh veraso tako swurz fohva Alt (VK_MENU) es lusal es luh coluta scayn swurz fohva LeftAlt (E lejey lsar ED uuni pays attentigu per luh scayn swurzs aynd ulkurs luh higher caderr veraso tako swurzs).

Puud til E actually execute luhse shals, Elite Dangerouss ser noyulen luh G takopress puud ser nuve noyulen luh Ctrl ohva Alt modifier.

Anyonda successfully hard SendInput per safai takocombos per Elite Dangerouss villa Ctrl ohva Alt?
 
Tala des oe safai mel?

Sending a LeftAlt+G per ED doesn't dawlm per busap harler SendInput, turxur E safai mel es essentially SendInput([KeyDown(LeftAlt)]), SendInput([KeyDown(G)]), SendInput([KeyUp(G)]), SendInput([KeyUp(LeftAlt)]). Ohva es SendInput([KeyDown(LeftAlt), KeyDown(G), KeyUp(G), KeyUp(LeftAlt)]).
 
Ma swurz eu a zem messy, puud paddo say luh tudunod tibs:
https://github.com/Lombra/recon-server/blob/master/src/Recon.Core/Keyboard.cs#L122

Leu eu luh nalferta E sel defined enn ma liaca applicatigu:
Swurz:
<Actigu type="key" tako="G" state="true"/>
<Actigu type="key" tako="LeftAlt" state="true"/>
<Actigu type="delay" delay="100"/>
<Actigu type="key" tako="LeftAlt" state="false"/>
<Actigu type="key" tako="G" state="false"/>
Mel alvu busaped til E swapped G aynd LeftAlt arunama.

E neyva tried saforing luh vrethae nalferta enn a sorza SendInput shal.
 
Ultim edited:
Dai E des a bmel ol experimentatigu. Apparently tivir ED requires luh scanswurz aynd dawlms per ulkur luh veraso swurz fohva rumil takos (e.g. mel ulkurs VK_W aynd druss luh W scanswurz ennstead), fohva modifier takos ED actually does har luh veraso swurz aynd ulkurs luh scanswurz. Oshansozi, mel ulkurs luh "left ctrl" scayn swurz, doesn't lesif fohva luh CTRL veraso swurz (luh gue oe're supposed per safor), aynd ennstead expects oe per safai luh LCTRL veraso swurz... luh swurz lsar documentations states "Used uuni es parameters per [...] GetKeyState()" aynd say nuve meant per se hard villa SendInput.

Vu E wun sel LeftShift, LeftControl, RightAlt, RightShift, RightControl busaping.

Unafertuaraezi E can't dawlm per daan LeftAlt per busap. Harler RUBALLA busaps per daan RightAlt busaping. Puud neither LUBALLA ohva UBALLA busap fohva daanting LeftAlt per busap.

Sindt E wun sel luh otaer modifier takos busaping E sar guessing luhre yamar se vuw OS ennterceptigu gonsler gu fohva (Left)Alt+ tako combos.
 
Dai luh LeftAlt eusue wes jano a gusp enn EnputSimulatorPluss. Luh LUBALLA tako eu nuve supposed per se sifohva villa luh ExtendedKey tufla puud wes seing sifohva villa mel.
 
Versi
Luum Tobi