• 大小: 3.03MB
    文件类型: .zip
    金币: 2
    下载: 0 次
    发布日期: 2024-02-06
  • 语言: 其他
  • 标签:

资源简介

罗技方向盘G29开发文档

资源截图

代码片段和文件信息

using System;
using System.Collections;
using System.Collections.Specialized;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.Text;

public class LogitechGSDK
{
    //STEERING WHEEL SDK
    public const int LOGI_MAX_CONTROLLERS = 4;

    //Force types

    public const int LOGI_FORCE_NONE = -1;
    public const int LOGI_FORCE_SPRING = 0;
    public const int LOGI_FORCE_CONSTANT = 1;
    public const int LOGI_FORCE_DAMPER = 2;
    public const int LOGI_FORCE_SIDE_COLLISION = 3;
    public const int LOGI_FORCE_FRONTAL_COLLISION = 4;
    public const int LOGI_FORCE_DIRT_ROAD = 5;
    public const int LOGI_FORCE_BUMPY_ROAD = 6;
    public const int LOGI_FORCE_SLIPPERY_ROAD = 7;
    public const int LOGI_FORCE_SURFACE_EFFECT = 8;
    public const int LOGI_NUMBER_FORCE_EFFECTS = 9;
    public const int LOGI_FORCE_SOFTSTOP = 10;
    public const int LOGI_FORCE_CAR_AIRBORNE = 11;


    //Periodic types  for surface effect

    public const int LOGI_PERIODICTYPE_NONE = -1;
    public const int LOGI_PERIODICTYPE_SINE = 0;
    public const int LOGI_PERIODICTYPE_SQUARE = 1;
    public const int LOGI_PERIODICTYPE_TRIANGLE = 2;


    //Devices types

    public const int LOGI_DEVICE_TYPE_NONE = -1;
    public const int LOGI_DEVICE_TYPE_WHEEL = 0;
    public const int LOGI_DEVICE_TYPE_JOYSTICK = 1;
    public const int LOGI_DEVICE_TYPE_GAMEPAD = 2;
    public const int LOGI_DEVICE_TYPE_OTHER = 3;
    public const int LOGI_NUMBER_DEVICE_TYPES = 4;


    //Manufacturer types

    public const int LOGI_MANUFACTURER_NONE = -1;
    public const int LOGI_MANUFACTURER_LOGITECH = 0;
    public const int LOGI_MANUFACTURER_MICROSOFT = 1;
    public const int LOGI_MANUFACTURER_OTHER = 2;


    //Model types

    public const int LOGI_MODEL_G27 = 0;
    public const int LOGI_MODEL_DRIVING_FORCE_GT = 1;
    public const int LOGI_MODEL_G25 = 2;
    public const int LOGI_MODEL_MOMO_RACING = 3;
    public const int LOGI_MODEL_MOMO_FORCE = 4;
    public const int LOGI_MODEL_DRIVING_FORCE_PRO = 5;
    public const int LOGI_MODEL_DRIVING_FORCE = 6;
    public const int LOGI_MODEL_NASCAR_RACING_WHEEL = 7;
    public const int LOGI_MODEL_FORMULA_FORCE = 8;
    public const int LOGI_MODEL_FORMULA_FORCE_GP = 9;
    public const int LOGI_MODEL_FORCE_3D_PRO = 10;
    public const int LOGI_MODEL_EXTREME_3D_PRO = 11;
    public const int LOGI_MODEL_FREEDOM_24 = 12;
    public const int LOGI_MODEL_ATTACK_3 = 13;
    public const int LOGI_MODEL_FORCE_3D = 14;
    public const int LOGI_MODEL_STRIKE_FORCE_3D = 15;
    public const int LOGI_MODEL_G940_JOYSTICK = 16;
    public const int LOGI_MODEL_G940_THROTTLE = 17;
    public const int LOGI_MODEL_G940_PEDALS = 18;
    public const int LOGI_MODEL_RUMBLEPAD = 19;
    public const int LOGI_MODEL_RUMBLEPAD_2 = 20;
    public const int LOGI_MODEL_CORDLESS_RUMBLEPAD_2 = 21;
    public const int LOGI_MODEL_CORDLESS_GAMEPAD = 22;
    public const int LOGI_MODEL_DUAL_ACTION_GAMEPAD = 23;
    public const int LOGI_MODEL_P

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件     1976952  2015-10-14 09:33  Demo\SteeringWheelSDKDemo.exe
     文件      534398  2015-10-14 09:04  Doc\C#Instructions.pdf
     文件      971866  2015-10-14 09:04  Doc\LogitechGamingSteeringWheelSDK.pdf
     文件      626210  2015-10-14 09:04  Doc\UdkDLLBindInstructions.pdf
     文件       15851  2015-10-14 09:04  Include\LogitechGSDK.cs
     文件       11830  2015-10-14 09:04  Include\LogitechSteeringWheelLib.h
     文件       14848  2015-10-14 09:33  Lib\GameEnginesWrapper\x64\LogitechSteeringWheelEnginesWrapper.dll
     文件       12800  2015-10-14 09:32  Lib\GameEnginesWrapper\x86\LogitechSteeringWheelEnginesWrapper.dll
     文件       44156  2015-10-14 09:33  Lib\x64\LogitechSteeringWheelLib.lib
     文件       39302  2015-10-14 09:32  Lib\x86\LogitechSteeringWheelLib.lib
     文件        3067  2015-07-08 15:27  ReadMe.txt
     文件       21630  2015-10-14 09:04  Samples\SteeringWheelSDKDemo\res\SteeringWheelSDKDemo.ico
     文件         398  2015-10-14 09:04  Samples\SteeringWheelSDKDemo\res\SteeringWheelSDKDemo.rc2
     文件        6478  2015-10-14 09:04  Samples\SteeringWheelSDKDemo\resource.h
     文件         213  2015-10-14 09:04  Samples\SteeringWheelSDKDemo\stdafx.cpp
     文件        2819  2015-10-14 09:04  Samples\SteeringWheelSDKDemo\stdafx.h
     文件        5998  2015-10-14 09:04  Samples\SteeringWheelSDKDemo\SteeringWheelInputCalibrateDlg.cpp
     文件        1318  2015-10-14 09:04  Samples\SteeringWheelSDKDemo\SteeringWheelInputCalibrateDlg.h
     文件        2188  2015-10-14 09:04  Samples\SteeringWheelSDKDemo\SteeringWheelSDKDemo.cpp
     文件         828  2015-10-14 09:04  Samples\SteeringWheelSDKDemo\SteeringWheelSDKDemo.h
     文件       14603  2015-10-14 09:04  Samples\SteeringWheelSDKDemo\SteeringWheelSDKDemo.rc
     文件        1234  2015-10-14 09:04  Samples\SteeringWheelSDKDemo\SteeringWheelSDKDemo.sln
     文件       20012  2015-10-14 09:04  Samples\SteeringWheelSDKDemo\SteeringWheelSDKDemo.vcxproj
     文件       31593  2015-10-14 09:04  Samples\SteeringWheelSDKDemo\SteeringWheelSDKDemoDlg.cpp
     文件        1885  2015-10-14 09:04  Samples\SteeringWheelSDKDemo\SteeringWheelSDKDemoDlg.h
     文件         752  2015-10-14 09:04  Samples\SteeringWheelSDKDemo\targetver.h
     文件        1005  2015-10-14 09:04  Samples\SteeringWheelSDKIndependant\SteeringWheelSDKIndependant.sln
     文件        1001  2015-10-14 09:04  Samples\SteeringWheelSDKIndependant\SteeringWheelSDKIndependant\LCoreMessages.h
     文件        2896  2015-10-14 09:04  Samples\SteeringWheelSDKIndependant\SteeringWheelSDKIndependant\LogiIndependant.cpp
     文件         790  2015-10-14 09:04  Samples\SteeringWheelSDKIndependant\SteeringWheelSDKIndependant\LogiIndependant.h
     文件         306  2015-10-14 09:04  Samples\SteeringWheelSDKIndependant\SteeringWheelSDKIndependant\stdafx.cpp
............此处省略17个文件信息

评论

共有 条评论