51 lines
1.6 KiB
HTML
51 lines
1.6 KiB
HTML
![]() |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.20">
|
||
|
<TITLE>cc65 function reference: Alphabetical function reference: joy_install</TITLE>
|
||
|
<LINK HREF="funcref-130.html" REL=next>
|
||
|
<LINK HREF="funcref-128.html" REL=previous>
|
||
|
<LINK HREF="funcref.html#toc3" REL=contents>
|
||
|
</HEAD>
|
||
|
<BODY>
|
||
|
<A HREF="funcref-130.html">Next</A>
|
||
|
<A HREF="funcref-128.html">Previous</A>
|
||
|
<A HREF="funcref.html#toc3">Contents</A>
|
||
|
<HR>
|
||
|
<H2><A NAME="joy_install"></A> 3.84 <A HREF="funcref.html#toc3.84">joy_install</A></H2>
|
||
|
|
||
|
|
||
|
<P>
|
||
|
<BLOCKQUOTE>
|
||
|
<DL>
|
||
|
<DT><B>Function</B><DD><P>Install an already loaded driver and return an error code.</P>
|
||
|
<DT><B>Header</B><DD><P><CODE>
|
||
|
<A HREF="funcref-22.html#joystick.h">joystick.h</A></CODE></P>
|
||
|
<DT><B>Declaration</B><DD><P><CODE>unsigned char __fastcall__ joy_install (void* driver);</CODE></P>
|
||
|
<DT><B>Description</B><DD><P>The function installs a driver that was already loaded into
|
||
|
memory (or linked statically to the program). It returns an error code
|
||
|
(<CODE>JOY_ERR_OK</CODE> in case of success).</P>
|
||
|
<DT><B>Limits</B><DD><P>
|
||
|
<UL>
|
||
|
<LI>The function is only available as fastcall function, so it may only be
|
||
|
used in presence of a prototype.</LI>
|
||
|
</UL>
|
||
|
</P>
|
||
|
<DT><B>Availability</B><DD><P>cc65</P>
|
||
|
<DT><B>See also</B><DD><P>
|
||
|
<A HREF="funcref-130.html#joy_load_driver">joy_load_driver</A>,
|
||
|
<A HREF="funcref-132.html#joy_uninstall">joy_uninstall</A>,
|
||
|
<A HREF="funcref-133.html#joy_unload">joy_unload</A></P>
|
||
|
<DT><B>Example</B><DD><P>None.</P>
|
||
|
</DL>
|
||
|
</BLOCKQUOTE>
|
||
|
</P>
|
||
|
|
||
|
|
||
|
<HR>
|
||
|
<A HREF="funcref-130.html">Next</A>
|
||
|
<A HREF="funcref-128.html">Previous</A>
|
||
|
<A HREF="funcref.html#toc3">Contents</A>
|
||
|
</BODY>
|
||
|
</HTML>
|