.idea | ||
aimeio | ||
chuniio | ||
common | ||
vendor/shared_memory | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
README.md | ||
rustfmt.toml |
chuniio-yubideck
ChuniIO driver for YubiDeck FW 3.0.
UNTESTED!!! Here be dragons.
Thanks to:
Configuration
segatools.ini
[chuniio]
;; For Chunithm NEW or newer
path32=chuniio_yubideck_chusan.dll
path64=chuniio_yubideck_amdaemon.dll
;; For CHUNITHM PARADISE and older
path=chuniio_yubideck.dll
[io3]
test=0x31
service=0x32
coin=0x33
USB Protocol
USB device: 1973:2001
, interface 0
-
Endpoint IN Interrupt (0x81)
- Data length: 45 bytes
data[0]
: bits 0-5: beam 1-6 (1 = blocked)data[1]
: bits 0-2 for the 3 buttons (1 = pressed)data[2..34]
: pressure of touch sensor 1-32 (counting from top left)data[34]
: Card type- 0: No card
- 1: MIFARE Classic
- 2: FeliCa
data[35..45]
: Card IDm/Access Code
-
Endpoint OUT Interrupt (0x02)
- Data length: 61 bytes
data[0]
: Packet type- Packet type 1:
data[1..61]
: Slider LED for the first 20 sensors, RGB
- Packet type 2:
data[1..34]
: Slider LED for the last 11 sensors, RGBdata[34..37]
: Left air LED, RGBdata[37..40]
: Right air LED, RGBdata[40..43]
: Card reader LED, RGBdata[43..61]
: Empty padding
- Packet type 1:
Build instructions
# For CHUNITHM NEW
cargo build --features chusan --target i686-pc-windows-msvc --release
cargo build --features chusan --target x86_64-pc-windows-msvc --release
cp target/i686-pc-windows-msvc/release/chuniio_yubideck.dll chuniio_yubideck_chusan.dll
cp target/x86_64-pc-windows-msvc/release/chuniio_yubideck.dll chuniio_yubideck_amdaemon.dll
# For CHUNITHM
cargo build --target i686-pc-windows-msvc --release
cp target/i686-pc-windows-msvc/release/chuniio_yubideck.dll .