comparison src/video/fbcon/SDL_fbelo.h @ 4:4f6c5f021323

Date: Thu, 26 Apr 2001 10:46:23 +0200 From: Alexander Pipelka <pipelka@bms-austria.com> Subject: SDL ELO driver bugfix Hi Sam! We noticed that the ELO serial touchscreen controller is quite sensitive in terms of correct protocol handling. The current implementation cause some controllers to hangup after some time (> 24h). I think the attached patch should fix this (I ran my device more than 3 days without any hangups).
author Sam Lantinga <slouken@lokigames.com>
date Thu, 26 Apr 2001 16:54:56 +0000
parents 74212992fb08
children e8157fcb3114
comparison
equal deleted inserted replaced
3:3b97b708523c 4:4f6c5f021323
50 /* eloParsePacket 50 /* eloParsePacket
51 extract position and button state from a packet 51 extract position and button state from a packet
52 */ 52 */
53 int eloParsePacket(unsigned char* mousebuf, int* dx, int* dy, int* button_state); 53 int eloParsePacket(unsigned char* mousebuf, int* dx, int* dy, int* button_state);
54 54
55 /* eloReadPosition
56 read a packet and get the cursor position
57 */
58
59 int eloReadPosition(_THIS, int fd, int* x, int* y, int* button_state, int* realx, int* realy);
60
55 #endif /* SDL_fbelo_h */ 61 #endif /* SDL_fbelo_h */