[fpc-pascal] USB Human Interface Devices
James Richters
james at productionautomation.net
Wed Aug 21 22:44:25 CEST 2019
Hmm I'll see what I can come up with. The language of all these units is completely foreign to me. I really don't understand how constructors and this inherited stuff or how even the functions and procedures manage to get anything done. I've been programming with Pascal since Turbo Pascal back in the 80's but I can't make any sense of this coding style at all. I'll have to do some research to see how this method of programing even works at all. I've done some stuff that uses units like this, so I can create and object and manage to use it, but the unit's themselves... well. I just don't get it. I keep going around in circles trying to follow the way things get done and it seems like I go round and round and never find any functions or procedures that really do anything at all.. they just keep calling each other. I was trying to just compile Snapi.pas with libusboop just to figure out the syntax.. then I can copy sections and modify it as needed.
James
>Hmm, no. You should make your own unit for your device, from scratch.
>And then use snapi.pas as a guide how to do that. As I've written in my previous EMail:
More information about the fpc-pascal
mailing list