JoySticks
Revision as of 14:01, 31 March 2014 by 131.174.202.37 (talk)
Logitech Attack 3 Controller
Drivers
AAT Module
Script
Type=Exe Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\..\WINDOWS\system32\stdole2.tlb#OLE Automation Reference=*\G{E1211242-8E94-11D1-8808-00C04FC2C602}#1.0#0#..\..\..\..\WINDOWS\system32\dx7vb.dll#DirectX 7 for Visual Basic Type Library Module=Module1; Module1.bas Form=js.frm Startup="Jsbilder" HelpFile="" ExeName32="jsbilder_zoom_englisch_181006.exe" Command32="" Name="joystick_bilder" HelpContextID="0" CompatibleMode="0" MajorVer=1 MinorVer=0 RevisionVer=0 AutoIncrementVer=0 ServerSupportFiles=0 VersionCompanyName="TUD" CompilationType=0 OptimizationType=0 FavorPentiumPro(tm)=0 CodeViewDebugInfo=0 NoAliasing=0 BoundsCheck=0 OverflowCheck=0 FlPointCheck=0 FDIVCheck=0 UnroundedFP=0 StartMode=0 Unattended=0 Retained=0 ThreadPerObject=0 MaxNumberOfThreads=1 [MS Transaction Server] AutoRefresh=1
Red Joystick (Serial Based)
#!/usr/bin/env python from rusocsci import joystick, utils import logging, time ## Setup Section #logging.getLogger().setLevel(logging.DEBUG) # use this for debug info #utils.serialList() # get alist of ports with a joystick or buttonbox connected j = joystick.Joystick() #j = joystick.Joystick(1) # use this to connect to the second joystick #j = joystick.Joystick(port="COM1") # use this to connect to a joystick on a specific port ## Experiment Section for i in range(15): print("x: {}".format(j.getX())) time.sleep(1)