1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-12 07:07:19 +00:00
Commit Graph

29 Commits

Author SHA1 Message Date
Greg King
0390c34e88 Changed multi-line C comments into another style.
The left side doesn't look unbalanced.
2014-06-30 16:51:07 -04:00
Oliver Schmidt
94eb2a2ed7 Some fine tuning of the mouse driver interface harmonization. 2014-01-17 21:09:15 +01:00
Greg King
3b544613d2 Moved the lightpen names from <mouse.h> to a new <pen.h>.
Renamed the adjuster pointer.
2013-07-25 13:32:40 -04:00
Greg King
e63bf1cde1 Used a library-reference method to calibrate lightpen drivers.
The mouse reference is a pointer.  If it's NULL, the driver uses a default.  If it's non-NULL, then it points to a function that the driver can call.  That function will adjust the driver's calibration value.  It could ask the user to adjust the pen; or, it could read a file that holds a value from a previous calibration.

Application writers can choose how it's done: a function that's provided by the library, a custom function, or nothing.
2013-06-23 03:18:28 -04:00
Oliver Schmidt
85885001b1 Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
ol.sc
1ebee7cbd3 Harmozined typing of static driver address.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5934 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-13 22:23:10 +00:00
ol.sc
6860ac7dfd Introduced static standard drivers.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5891 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-01 19:53:47 +00:00
uz
e531e5abd1 Removed __fastcall__ declarations for functions without parameters.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5073 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-07-07 20:19:35 +00:00
uz
16e6deaf86 Changed the mouse API: mouse_box is gone, there are now mouse_getbox and
mouse_setbox instead. Beware: Current drivers will crash until they're
changed!


git-svn-id: svn://svn.cc65.org/cc65/trunk@4230 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-26 11:11:14 +00:00
uz
4ed9b6facf Fixed a copy&paste error.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4151 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-11 18:42:34 +00:00
uz
d74f9ab396 Added a mouse_stddrv variable that contains the standard mouse driver for a
system.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4148 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-11 16:45:43 +00:00
cuz
6ae943402d Two functions in the mouse_callbacks struct do actually have arguments.
Report by Oliver Schmidt.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3664 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-11-21 20:40:56 +00:00
cuz
9037886381 New function mouse_geterrormsg()
git-svn-id: svn://svn.cc65.org/cc65/trunk@3289 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 12:41:18 +00:00
cuz
ca4213daf4 Fixed a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3030 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-12 13:18:00 +00:00
cuz
3bfbaee6a6 Working on loadable mouse drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@2953 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-21 22:12:06 +00:00
cuz
be9ddfd33e mouse_set_callbacks doesn't return anything
git-svn-id: svn://svn.cc65.org/cc65/trunk@2938 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-18 09:42:44 +00:00
cuz
18a2904921 Added mouse_ioctl
git-svn-id: svn://svn.cc65.org/cc65/trunk@2898 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-05 18:33:56 +00:00
cuz
8d4c661c75 Make mouse driver loadable
git-svn-id: svn://svn.cc65.org/cc65/trunk@2852 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-28 21:26:11 +00:00
izydorst
81407526bf enabled mouse support for GEOS
git-svn-id: svn://svn.cc65.org/cc65/trunk@1173 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-08 16:42:16 +00:00
cuz
3dc0fb59bc Check for wrong header file inclusions, add CBM510 stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@948 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-19 08:46:07 +00:00
cuz
7856dae4b2 Remove the port parameter to mouse_init
git-svn-id: svn://svn.cc65.org/cc65/trunk@903 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-13 15:35:24 +00:00
cuz
9e80491acb Remove sprite param to mouse_init
git-svn-id: svn://svn.cc65.org/cc65/trunk@893 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-12 13:49:08 +00:00
cuz
fee7b6dc3b Minor changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@874 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-08 20:04:21 +00:00
cuz
d6569bc230 Finished the mouse stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@872 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-08 15:44:48 +00:00
cuz
6e29f555d2 Use && and || in preprocessor #if statements. Other minor changes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@866 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-08 14:39:01 +00:00
cuz
8f6b114bb8 Changed mouse_down --> mouse_buttons, added MOUSE_BTN_LEFT define, changed
return code of mouse_init.


git-svn-id: svn://svn.cc65.org/cc65/trunk@439 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-16 23:40:09 +00:00
cpg
f681d0fdad added mouse type defines; added mouse_down() prototype
git-svn-id: svn://svn.cc65.org/cc65/trunk@438 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-16 23:05:00 +00:00
cuz
cb762d9d7c Added type parameter to mouse_init
git-svn-id: svn://svn.cc65.org/cc65/trunk@417 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-31 18:15:46 +00:00
uz
53dd513176 This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-28 13:40:48 +00:00