iforce.h (179909ecafc3bae1f34289e88bacd45e391f0554) | iforce.h (305180bc05019b60ff7aea0b1d68ddbac205ca1f) |
---|---|
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/* --- 140 unchanged lines hidden (view full) --- 149 150/* iforce-main.c */ 151int iforce_init_device(struct iforce *iforce); 152 153/* iforce-packets.c */ 154int iforce_control_playback(struct iforce*, u16 id, unsigned int); 155void iforce_process_packet(struct iforce *iforce, u16 cmd, unsigned char *data); 156int iforce_send_packet(struct iforce *iforce, u16 cmd, unsigned char* data); | 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/* --- 140 unchanged lines hidden (view full) --- 149 150/* iforce-main.c */ 151int iforce_init_device(struct iforce *iforce); 152 153/* iforce-packets.c */ 154int iforce_control_playback(struct iforce*, u16 id, unsigned int); 155void iforce_process_packet(struct iforce *iforce, u16 cmd, unsigned char *data); 156int iforce_send_packet(struct iforce *iforce, u16 cmd, unsigned char* data); |
157void iforce_dump_packet(char *msg, u16 cmd, unsigned char *data) ; | 157void iforce_dump_packet(struct iforce *iforce, char *msg, u16 cmd, unsigned char *data); |
158int iforce_get_id_packet(struct iforce *iforce, char *packet); 159 160/* iforce-ff.c */ 161int iforce_upload_periodic(struct iforce *, struct ff_effect *, struct ff_effect *); 162int iforce_upload_constant(struct iforce *, struct ff_effect *, struct ff_effect *); 163int iforce_upload_condition(struct iforce *, struct ff_effect *, struct ff_effect *); 164 165/* Public variables */ 166extern struct serio_driver iforce_serio_drv; 167extern struct usb_driver iforce_usb_driver; | 158int iforce_get_id_packet(struct iforce *iforce, char *packet); 159 160/* iforce-ff.c */ 161int iforce_upload_periodic(struct iforce *, struct ff_effect *, struct ff_effect *); 162int iforce_upload_constant(struct iforce *, struct ff_effect *, struct ff_effect *); 163int iforce_upload_condition(struct iforce *, struct ff_effect *, struct ff_effect *); 164 165/* Public variables */ 166extern struct serio_driver iforce_serio_drv; 167extern struct usb_driver iforce_usb_driver; |