Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 04:18

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



PS4 Controller inputs via AutoIT senden?

Discussion on PS4 Controller inputs via AutoIT senden? within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1

 
Artarex's Avatar
 
elite*gold: 1
Join Date: Aug 2009
Posts: 3,021
Received Thanks: 1,842
PS4 Controller inputs via AutoIT senden?

Gibt es eine Möglichkeit PS4 Controller Inputs über AutoIT zu senden?

Spiele FIFA auf dem PC und wenn er per ImageSearch ein bestimmtest bild findet soll er eine taste von einem ps4 controller senden.

Bisher habe ich nur udf's gefunden, die inputs auslesen können, nicht aber senden.

LG
Artarex is offline  
Old 09/26/2018, 06:52   #2
 
elite*gold: 0
Join Date: Sep 2012
Posts: 12
Received Thanks: 2
well, i dont speak german but i think you can use winmn.dll dllstructcreate using JoyGetPos
or sequence LPT1
i can help you if you write english

by the way, using pixel search with 3 pos its better than image search
FasTZiinnN is offline  
Old 11/15/2018, 00:06   #3
 
Silbi's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 16
Received Thanks: 0
I have the same problem and just need an example of how to send the SQUARE-Ps4-Controller-Button.

The Joystick.au3 told me my SQUARE Button ID is "1" so I tried with the script below to send a SQUARE click every 2 seconds but it wont work.

Code:
while 1
	Sleep(2000)
	_Send_Virtual_Key(1)
WEnd

Func _Send_Virtual_Key($iCode)
    If Not IsInt($iCode) Then Return
    DllCall('user32.dll', 'int', 'keybd_event', 'int', $iCode, 'int', 0, 'int', 0, 'ptr', 0)
    DllCall('user32.dll', 'int', 'keybd_event', 'int', $iCode, 'int', 0, 'int', 2, 'ptr', 0)
EndFunc
Silbi is offline  
Reply


Similar Threads Similar Threads
controlsend, wenn $i = 5, soll F5 senden bei $i = 3, soll F3 senden usw., geht das?
10/12/2015 - AutoIt - 2 Replies
hi, also hab eine Variable $i und würd wenn $i = 1, gern controlsend("Programmname","" ,"","{F1}") machen und wenn $i = 4, dann controlsend("Programmname","" ,"","{F4}") also statt F1 und F4 hätt ich gerne sowas wie F($i)
Tausche Ps4 mit Controller/4Spielen gegen XboxOne+Controller+Spiele/Geld
03/06/2014 - Consoles Trading - 0 Replies
Bei intresse pm.
[HowTo]PS3 Controller/USB-Controller/Xbox Controller auf dem PC benutzen
01/13/2014 - Tutorials - 11 Replies
Ja, da hier in der Sektion 90% nurnoch aus "VERDIENE GELD IM INTERNET", "400€ IM MONAT NUR AM PC HOCKEN" besteht und größtenteils eh sogut wie unmöglich ist, habe ich mir gedacht, dass ich dieses Tutorial hiermal schreibe, damit hier etwas Abwechslung herrscht Dieses Tutorial ist eher für den Einzelsucher/Googlesucher gemacht worden, d.h. für Personen, die genau dieses Problem haben, und diesen Thread hier finden. ANLEITUNG 1. Schritt: Den Controller anschließen - Schließt den...
AutoIT Packets an SRO Gameserver senden via TCP & NuConnector
05/09/2010 - AutoIt - 6 Replies
Hi, also ich versuche gerade weiter mit AutoIT klarzukommen und endlich mal einen Bot(Für Silkroad via NuConnector oder anderes^^) zuschreiben der mit Packets arbeitet, aber irgendwie komme ich nicht weiter, also ich muss ja mit dem Befehl "TCPSend()" arbeiten, aber wie genau mache ich dass, ein Beispiel oder ein Tutorial(Deutsch) wäre nett, wodurch ich das nachvollziehen könnte, habe leider bis jetzt nichts richtiges gefunden, was mir dort weitergeholfen hat. THX im voraus. MfG GomaTa
Need some Help/Inputs
09/18/2009 - SRO Private Server - 3 Replies
i really would want to play a private SRO server long as it has nice rates that woudnt make me feel playing retail.. so just wanna ask what u guys think is the most stable of psro server outhere or atleast what u think is best? the only easy server i think i can get to is ecsro but seems they disabled account registration atm, and seriously is there any simple guide on how to setup SRO clients? dam i see so many links and i dunno what to do with it



All times are GMT +2. The time now is 04:18.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.