iforce.h (4f99de6d9d57d29b10f132490034aa21b7ba184f) | iforce.h (d3cc100069f945a392d6cde5ea326bb686418193) |
---|---|
1/* 2 * Copyright (c) 2000-2002 Vojtech Pavlik <vojtech@ucw.cz> 3 * Copyright (c) 2001-2002, 2007 Johann Deneux <johann.deneux@gmail.com> 4 * 5 * USB/RS232 I-Force joysticks and wheels. 6 */ 7 8/* --- 133 unchanged lines hidden (view full) --- 142 143/* Public functions */ 144/* iforce-main.c */ 145int iforce_init_device(struct device *parent, u16 bustype, 146 struct iforce *iforce); 147 148/* iforce-packets.c */ 149int iforce_control_playback(struct iforce*, u16 id, unsigned int); | 1/* 2 * Copyright (c) 2000-2002 Vojtech Pavlik <vojtech@ucw.cz> 3 * Copyright (c) 2001-2002, 2007 Johann Deneux <johann.deneux@gmail.com> 4 * 5 * USB/RS232 I-Force joysticks and wheels. 6 */ 7 8/* --- 133 unchanged lines hidden (view full) --- 142 143/* Public functions */ 144/* iforce-main.c */ 145int iforce_init_device(struct device *parent, u16 bustype, 146 struct iforce *iforce); 147 148/* iforce-packets.c */ 149int iforce_control_playback(struct iforce*, u16 id, unsigned int); |
150void iforce_process_packet(struct iforce *iforce, u16 cmd, unsigned char *data); | 150void iforce_process_packet(struct iforce *iforce, 151 u8 packet_id, u8 *data, size_t len); |
151int iforce_send_packet(struct iforce *iforce, u16 cmd, unsigned char* data); 152void iforce_dump_packet(struct iforce *iforce, char *msg, u16 cmd, unsigned char *data); 153 154/* iforce-ff.c */ 155int iforce_upload_periodic(struct iforce *, struct ff_effect *, struct ff_effect *); 156int iforce_upload_constant(struct iforce *, struct ff_effect *, struct ff_effect *); 157int iforce_upload_condition(struct iforce *, struct ff_effect *, struct ff_effect *); 158 159/* Public variables */ 160extern struct serio_driver iforce_serio_drv; 161extern struct usb_driver iforce_usb_driver; | 152int iforce_send_packet(struct iforce *iforce, u16 cmd, unsigned char* data); 153void iforce_dump_packet(struct iforce *iforce, char *msg, u16 cmd, unsigned char *data); 154 155/* iforce-ff.c */ 156int iforce_upload_periodic(struct iforce *, struct ff_effect *, struct ff_effect *); 157int iforce_upload_constant(struct iforce *, struct ff_effect *, struct ff_effect *); 158int iforce_upload_condition(struct iforce *, struct ff_effect *, struct ff_effect *); 159 160/* Public variables */ 161extern struct serio_driver iforce_serio_drv; 162extern struct usb_driver iforce_usb_driver; |