最終更新:2014-04-15 (火) 19:18:35 (3657d)  

Scp Virtual Bus Driver
Top / Scp Virtual Bus Driver

Scarlet.Crush Productions

SCP Driver Package is an open-source driver which allows for DS2? (DUALSHOCK 2?), DS3? (DUALSHOCK 3) and DS4? (DUALSHOCK 4) to work natively on Microsoft Windows.

メモ

処理

ds4-tool

  • ScpControl.BusDevice?.Start()
  • BusDevie.ProcessData?()をスレッドで処理。
    • DS4Device?からレポートを読み取ってXbox 360形式に変換
    • DeviceIoControl(0x2A400C)
    • DS4Device?sendOutputReport?(振動モーター?LEDを制御)

最新版

namespace

ScpControl

  • ScpControl.DS4Device?
    • レポートのパースとか
  • ScpConrtol.BthDs3?
  • ScpConrtol.BthDs4?
  • ScpConrtol.UsbDs3?
  • ScpConrtol.UsbDs4?
  • ScpControl.ScpDevice
    • コントロールになってる
  • ScpControl.BusDevice?
    • 実際の処理
    • BusDevice.Report? -> DS4Device.sendOutputReport? -> HidDevice.WriteOutputReportViaControl? -> HidD_SetOutputReport

ScpServer?

ScpMonitor?

ドライバ

XInput_Scp?

DDK

ScpBus

メモ

関連ツール

XInput Wrapper for DS3 and Play.com USB Dual DS2 Controller

DS4 To XInput Wrapper

  • ds4-tool - ソースコード。ドライバ部分は含まない

関連

参考