All Projects → Inokinoki → libjoycon

Inokinoki / libjoycon

Licence: other
A lib to encode/decode Joycon Bluetooth packet.

Programming Languages

c
50402 projects - #5 most used programming language
SWIG
194 projects
CMake
9771 projects

libjoycon CMake

A Joycon packet encoding and decoding lib

Build

The library itself only links to the libm (math lib):

mkdir build && cd build
cmake ..
make

If you want to build examples, the HIDAPI lib is a must. The OpenGL and GLUT/Vulkan is necessary to build IMU Mapping. Configure the project with BUILD_EXAMPLE as follows:

cmake -DBUILD_EXAMPLE=ON ..

Usage

Please refer the programs in examples.

Note

Note that this library does not contain Bluetooth/USB HID implementation, you can use one on a specific platform, e.g. hidapi on Linux/Win, to read/send raw packets, and use this library to extract/encode information from/to the packets.

Have fun

What can it do? Check this twitter:

IIInoki - Map Joycon to a cube

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].