Open disablewong opened 4 years ago
Hi, FreeJoy is mainly focused in game control devices and implements standard HID protocol. But if you need to use its functionality for something else you can modificate it as you wish: axes data stored in two buffers:
analog_data_t raw_axis_data[MAX_AXIS_NUM];
analog_data_t out_axis_data[MAX_AXIS_NUM];
buttons data also stored in two buffers:
physical_buttons_state_t physical_buttons_state[MAX_BUTTONS_NUM];
logical_buttons_state_t logical_buttons_state[MAX_BUTTONS_NUM];
So you can fork this project and add any uart output for this buffer's (and any other) data
Thanks for your great works Yury! The simplicity of the configuration and excellence functionality is really impressing!
I want to implement FreeJoy to my telescope for controlling the equatorial mount. However, the communication with those micro-controllers inside the mount are done by UART. Is it possible to use some of the ports on the STM32F103 to sent message in UART upon button/axis trigger? I think it might also be useful for debugging purpose.