deckhidraw 0.0.0

Steam Deck gamepad raw input
Documentation
1
2
3
4
5
6
7
8
9
10
11
# Rust Steam Deck gamepad raw input

[![crates.io](https://img.shields.io/crates/v/deckhidraw.svg)](https://crates.io/crates/deckhidraw)
[![documentation](https://docs.rs/deckhidraw/badge.svg)](https://docs.rs/deckhidraw)
[![0BSD licensed](https://img.shields.io/crates/l/deckhidraw.svg)](./LICENSE)

**This project is unofficial! This project is _not_ affiliated with Valve Corporation.**

This uses [hidraw](https://docs.kernel.org/hid/hidraw.html) to access inputs, which bypasses any input remapping that might be performed by Steam. This allows access to _all_ inputs, all in a single packet, without having to integrate with any Steam APIs or to even have Steam open at all. This is also not subject to limitations of Xbox-style gamepads, meaning that all analog axes can be accessed independently.

This code can be compiled for any platform, but finding the device node will always fail on not-Linux.