style(pf-dualsense): rustfmt the N4-spike additions (CI fmt gate)
windows-drivers / probe-and-proto (push) Successful in 18s
windows-drivers / driver-build (push) Successful in 1m37s
windows-host / package (push) Successful in 9m1s
ci / rust (push) Failing after 40s
ci / web (push) Successful in 55s
ci / docs-site (push) Successful in 1m7s
decky / build-publish (push) Successful in 24s
docker / build-push (--build-arg FEDORA_VERSION=44, ci, ci/fedora-rpm.Dockerfile, punktfunk-fedora44-rpm) (push) Successful in 10s
arch / build-publish (push) Successful in 10m21s
docker / build-push (., web/Dockerfile, punktfunk-web) (push) Successful in 9s
docker / build-push (ci, ci/rust-ci.Dockerfile, punktfunk-rust-ci) (push) Successful in 8s
docker / build-push (docs-site, docs-site/Dockerfile, punktfunk-docs) (push) Successful in 7s
ci / bench (push) Successful in 5m20s
android / android (push) Successful in 16m58s
apple / swift (push) Successful in 4m31s
docker / build-push (ci, ci/fedora-rpm.Dockerfile, punktfunk-fedora-rpm) (push) Successful in 7m19s
deb / build-publish (push) Successful in 11m39s
rpm / build-publish (44, fedora-44, punktfunk-fedora44-rpm) (push) Successful in 13m8s
rpm / build-publish (43, bazzite, punktfunk-fedora-rpm) (push) Successful in 16m27s
docker / deploy-docs (push) Successful in 10s
apple / screenshots (push) Successful in 20m45s
windows-drivers / probe-and-proto (push) Successful in 18s
windows-drivers / driver-build (push) Successful in 1m37s
windows-host / package (push) Successful in 9m1s
ci / rust (push) Failing after 40s
ci / web (push) Successful in 55s
ci / docs-site (push) Successful in 1m7s
decky / build-publish (push) Successful in 24s
docker / build-push (--build-arg FEDORA_VERSION=44, ci, ci/fedora-rpm.Dockerfile, punktfunk-fedora44-rpm) (push) Successful in 10s
arch / build-publish (push) Successful in 10m21s
docker / build-push (., web/Dockerfile, punktfunk-web) (push) Successful in 9s
docker / build-push (ci, ci/rust-ci.Dockerfile, punktfunk-rust-ci) (push) Successful in 8s
docker / build-push (docs-site, docs-site/Dockerfile, punktfunk-docs) (push) Successful in 7s
ci / bench (push) Successful in 5m20s
android / android (push) Successful in 16m58s
apple / swift (push) Successful in 4m31s
docker / build-push (ci, ci/fedora-rpm.Dockerfile, punktfunk-fedora-rpm) (push) Successful in 7m19s
deb / build-publish (push) Successful in 11m39s
rpm / build-publish (44, fedora-44, punktfunk-fedora44-rpm) (push) Successful in 13m8s
rpm / build-publish (43, bazzite, punktfunk-fedora-rpm) (push) Successful in 16m27s
docker / deploy-docs (push) Successful in 10s
apple / screenshots (push) Successful in 20m45s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -570,9 +570,7 @@ extern "C" fn evt_io_device_control(
|
|||||||
}
|
}
|
||||||
IOCTL_UMDF_HID_SET_FEATURE => on_set_feature(&request),
|
IOCTL_UMDF_HID_SET_FEATURE => on_set_feature(&request),
|
||||||
IOCTL_UMDF_HID_GET_FEATURE => on_get_feature(&request),
|
IOCTL_UMDF_HID_GET_FEATURE => on_get_feature(&request),
|
||||||
IOCTL_UMDF_HID_GET_INPUT_REPORT => {
|
IOCTL_UMDF_HID_GET_INPUT_REPORT => request.copy_to_output(&neutral_report(device_type())),
|
||||||
request.copy_to_output(&neutral_report(device_type()))
|
|
||||||
}
|
|
||||||
IOCTL_HID_GET_STRING => on_get_string(&request),
|
IOCTL_HID_GET_STRING => on_get_string(&request),
|
||||||
_ => STATUS_NOT_IMPLEMENTED,
|
_ => STATUS_NOT_IMPLEMENTED,
|
||||||
};
|
};
|
||||||
@@ -648,10 +646,7 @@ fn on_set_feature(request: &Request) -> NTSTATUS {
|
|||||||
/// captured from a physical Deck (see inject/proto/steam_proto.rs feature_reply, the source of
|
/// captured from a physical Deck (see inject/proto/steam_proto.rs feature_reply, the source of
|
||||||
/// truth this mirrors). Anything else echoes the latched command.
|
/// truth this mirrors). Anything else echoes the latched command.
|
||||||
fn deck_feature_reply() -> [u8; 64] {
|
fn deck_feature_reply() -> [u8; 64] {
|
||||||
let last = LAST_SET_FEATURE
|
let last = LAST_SET_FEATURE.lock().map(|g| *g).unwrap_or([0u8; 64]);
|
||||||
.lock()
|
|
||||||
.map(|g| *g)
|
|
||||||
.unwrap_or([0u8; 64]);
|
|
||||||
let unit_id: u32 = 0x5046_0003; // "PF" + the spike's scratch index
|
let unit_id: u32 = 0x5046_0003; // "PF" + the spike's scratch index
|
||||||
let serial = b"PFDK50460003";
|
let serial = b"PFDK50460003";
|
||||||
let mut r = [0u8; 64];
|
let mut r = [0u8; 64];
|
||||||
|
|||||||
Reference in New Issue
Block a user