Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Cyclone X10 Documentation #31

Open
blackspherefollower opened this issue May 21, 2018 · 0 comments
Open

Add Cyclone X10 Documentation #31

blackspherefollower opened this issue May 21, 2018 · 0 comments

Comments

@blackspherefollower
Copy link
Contributor

Rends Cyclone X10 - HID device

Original documentation can be found here: http://www.waffle1999.com/onahole/source.html

VendorId: 0x0483
ProductId: 0x5750

I still haven't gotten my head around the HID read/write system, but I believe that this is a raw read/write to the device's handle (as opposed to read/write to a report or to the feature data).

Control by writing:
byte[] { 0x00, 0x3C, 0x30, 0x31, 0x35, 0x32, 0xXX, 0xYY, 0x30, 0xZZ, 0x30, 0x01, 0x02, 0x03, 0x68, 0x3E };
Where XX is pause (data[6]): 0x30 + 0-1 (1 if paused)
Where YY is speed (data[7]): 0x30 + 0-10
Where ZZ mode (data[9]): 0x30 + 0-9 (0 forwards, 1 backwards, 2+ patterns)

The device has a battery, but may also be powered/charged by a DC converter. On battery mode, the device is limited to speeds 0-5. It's possible that a read directly after a write may report this, but I have yet to prove it (reads were blocking writes).

There is another device (臨界点-rinkaiten-(単品)) that uses the same HID protocol but has 3 vibrators rather than a rotator. The documentation claims that the patterns differ but will appear to be the same hardware as far as the HID API is concerned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant