microsoft / hidtools

Human Interface Device (HID) Tools for Windows and Devices
MIT License
146 stars 20 forks source link

C compatibility #16

Closed reinderien closed 10 months ago

reinderien commented 10 months ago

Output is very close to being C-compatible. So far the only thing I've encountered that departs from this is enum class. It would be very useful to offer a [[settings]] entry to degrade enum class to a plain C enum, as well as any other output that C would not support.

matwilli commented 10 months ago

This is a good idea, but supporting multiple output languages (even similar ones like C/C++) is getting beyond what I can reasonably scope to this project.