Mac OS X gamepad emulator for serial RC transmitters
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

Serial.h 436B

12345678910111213141516171819
  1. //
  2. // Serial.h
  3. // SerialGamepad
  4. //
  5. // Created by Thomas Buck on 14.12.15.
  6. // Copyright © 2015 xythobuz. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface Serial : NSObject
  10. + (NSArray *)listSerialPorts;
  11. @end
  12. // Internal
  13. kern_return_t findSerialPorts(io_iterator_t *matches);
  14. kern_return_t getSerialPortPath(io_iterator_t serialPortIterator, char **deviceFilePath, CFIndex maxPathCount, CFIndex maxPathSize);