]> git.sur5r.net Git - cc65/commitdiff
added documentation for the kbrepeat... functions
authormrdudz <mrdudz@users.noreply.github.com>
Sun, 6 Aug 2017 18:15:35 +0000 (20:15 +0200)
committermrdudz <mrdudz@users.noreply.github.com>
Sun, 6 Aug 2017 18:15:35 +0000 (20:15 +0200)
doc/funcref.sgml

index a2ccf6c73c653df3a0ddf395bbafd93085bea59c..d7c477958b7e09ada6a5c7206182e8a4984c73cd 100644 (file)
@@ -179,6 +179,9 @@ function.
 <!-- <item><ref id="cbm_save" name="cbm_save"> -->
 <!-- <item><ref id="cbm_write" name="cbm_write"> -->
 <!-- <item><ref id="get_tv" name="get_tv"> -->
+<item><ref id="kbrepeat" name="kbrepeat">
+<item><ref id="kbrepeatdelay" name="kbrepeatdelay">
+<item><ref id="kbrepeatrate" name="kbrepeatrate">
 </itemize>
 
 (incomplete)
@@ -2063,6 +2066,70 @@ to get off the serial bus so it can be used for other purposes.
 </descrip>
 </quote>
 
+<sect1>kbrepeat<label id="kbrepeat"><p>
+
+<quote>
+<descrip>
+<tag/Function/Set keyboard repeat mode
+<tag/Header/<tt/<ref id="cbm.h" name="cbm.h">/
+<tag/Declaration/<tt/unsigned char kbrepeat (unsigned char);/
+<tag/Description/This function changes what keys will have automatic repeat when
+being hold down for a certain time. Possible values are KBDREPEAT_CURSOR (repeat
+only cursor-related keys), KBDREPEAT_NONE (no repeat for any keys) and 
+KBDREPEAT_ALL (repeat all keys).
+The old mode is returned so it can be restored later.
+<tag/Notes/<itemize>
+<item>
+</itemize>
+<tag/Availability/cc65
+<tag/See also/
+<ref id="kbrepeatdelay" name="kbrepeatdelay">
+<ref id="kbrepeatrate" name="kbrepeatrate">
+<tag/Example/None.
+</descrip>
+</quote>
+
+<sect1>kbrepeatdelay<label id="kbrepeatdelay"><p>
+
+<quote>
+<descrip>
+<tag/Function/Set keyboard repeat delay
+<tag/Header/<tt/<ref id="cbm.h" name="cbm.h">/
+<tag/Declaration/<tt/unsigned char kbrepeatdelay (unsigned char);/
+<tag/Description/This function changes the delay until a keypress is being
+repeated automatically.
+The old value is returned so it can be restored later.
+<tag/Notes/<itemize>
+<item>
+</itemize>
+<tag/Availability/cc65
+<tag/See also/
+<ref id="kbrepeat" name="kbrepeat">
+<ref id="kbrepeatrate" name="kbrepeatrate">
+<tag/Example/None.
+</descrip>
+</quote>
+
+<sect1>kbrepeatrate<label id="kbrepeatrate"><p>
+
+<quote>
+<descrip>
+<tag/Function/Set keyboard repeat rate
+<tag/Header/<tt/<ref id="cbm.h" name="cbm.h">/
+<tag/Declaration/<tt/unsigned char kbrepeatrate (unsigned char);/
+<tag/Description/This function changes the keyboard repeat rate (the time between
+repeated keypresses).
+The old value is returned so it can be restored later.
+<tag/Notes/<itemize>
+<item>
+</itemize>
+<tag/Availability/cc65
+<tag/See also/
+<ref id="kbrepeat" name="kbrepeat">
+<ref id="kbrepeatdelay" name="kbrepeatdelay">
+<tag/Example/None.
+</descrip>
+</quote>
 
 <sect1>cclear<label id="cclear"><p>