;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; RDOS operating system ; Copyright (C) 1988-2000, Leif Ekblad ; ; This program is free software; you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by ; the Free Software Foundation; either version 2 of the License, or ; (at your option) any later version. The only exception to this rule ; is for commercial usage in embedded systems. For information on ; usage in commercial embedded systems, contact embedded@rdos.net ; ; This program is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with this program; if not, write to the Free Software ; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ; ; The author of this program may be contacted at leif@rdos.net ; ; hid.inc ; shared hid definitions ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; keep synchronized with hid.c!! hid_device_struc STRUC hid_controller DW ? hid_device DB ? hid_interface DB ? hid_protocol DB ? hid_intr_in DB ? hid_control_handle DW ? hid_control_wait DW ? hid_intr_handle DW ? hid_intr_size DW ? hid_intr_buf DW ? hid_intr_req DW ? hid_function_sel DW ? hid_control_sel DW ? hid_country_code DB ? hid_descr_count DB ? hid_stop_req DD ? hid_thread DD ? hid_device_struc ENDS hid_table STRUC ; IN FS:ESI Report struct ; IN GS:EBX Device ; OUT BX Handle / selector hid_begin_proc DD ?,? ; IN BX Handle / selector ; IN SI Entry # ; IN CL Usage Page ; IN AL Usage ID low ; IN AH Usage ID high ; IN EDX Item params hid_define_proc DD ?,? ; IN BX Handle / selector ; OUT NC Handle active hid_end_proc DD ?,? ; IN BX Handle / selector hid_close_proc DD ?,? ; IN BX Handle / selector ; IN FS:ESI Report data hid_handle_report_proc DD ?,? hid_table ENDS