This repository has been archived on 2025-03-21 . You can view files and clone it, but cannot push or open issues or pull requests.
trunk
chuniio-yubideck-v1
ChuniIO driver for YubiDeck FW 1A.04.
Thanks to Mila/Kamikaze for helping me test this out.
Configuration
segatools.ini
[chuniio]
;; For Chunithm NEW or newer
path32=chuniio_yubideck_v1_x86.dll
path64=chuniio_yubideck_v1_x64.dll
;; For CHUNITHM PARADISE and older
path=chuniio_yubideck_v1.dll
USB Protocol
USB device: 1973:2001, interface 0
-
Endpoint IN Interrupt (0x81)
- Data length: 45 bytes
data[0]: bits 0-5: beam {2, 1, 4, 3, 6, 5}data[1]:- Bit 0: Test
- Bit 1: Service
- Bit 2: Coin
data[2..34]: pressure of touch sensor 1-32 (counting from top -> bottom, left -> right)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: 62 bytes
data[0..48]: Slider LED (right -> left) and air tower LED for a total of 32 lights. Each 2 lights is encoded as 3 bytes like below:[0]:R0 >> 4 | G0 & 0xF0[1]:B0 >> 4 | R1 & 0xF0[2]:G1 >> 4 | B1 & 0xF0
data[48..51]: Card reader LED, RGBdata[51..62]: Empty padding
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_v1_x86.dll
cp target/x86_64-pc-windows-msvc/release/chuniio_yubideck.dll chuniio_yubideck_v1_x64.dll
# For CHUNITHM
cargo build --target i686-pc-windows-msvc --release
cp target/i686-pc-windows-msvc/release/chuniio_yubideck.dll .
Description
Languages
Rust
100%