lomoco_logitech.h File Reference
#include "lomoco.h"
Go to the source code of this file.
Data Structures | |
struct | logitech_device_s |
Defines | |
#define | LOGITECH_CORDED_MOUSE LOGITECH_CORDED_MOUSE |
#define | LOGITECH_CORDLESS_MOUSE LOGITECH_CORDLESS_MOUSE |
Typedefs | |
typedef struct logitech_device_s | logitech_device_t |
Enumerations | |
enum | { LOGITECH_CORDED_MOUSE, LOGITECH_CORDLESS_MOUSE, LOGITECH_RECEIVER } |
Functions | |
lomoco_device_t * | lomoco_get_logitech_hid_device (lomoco_base_t *base, int pid) |
lomoco_device_t * | lomoco_get_logitech_usb_device (lomoco_base_t *base, int pid) |
Define Documentation
#define LOGITECH_CORDED_MOUSE LOGITECH_CORDED_MOUSE |
#define LOGITECH_CORDLESS_MOUSE LOGITECH_CORDLESS_MOUSE |
Typedef Documentation
Creates a type name for logitech_device_s.
Enumeration Type Documentation
anonymous enum |
Definition at line 28 of file lomoco_logitech.h.
Function Documentation
lomoco_device_t* lomoco_get_logitech_hid_device | ( | lomoco_base_t * | base, | |
int | pid | |||
) |
Check if the the attached Logitech hid device is supported.
- Parameters:
-
base The initialized base structure. pid The product id of the attached device we are looking for.
- Returns:
- The supported device.
lomoco_device_t* lomoco_get_logitech_usb_device | ( | lomoco_base_t * | base, | |
int | pid | |||
) |
Check if the the attached Logitech device is supported.
- Parameters:
-
base The initialized base structure. pid The product id of the attached device we are looking for.
- Returns:
- The supported device.