Mac OS X gamepad emulator for serial RC transmitters
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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);