; Module header definitions for the USB MIDI 4 port driver

title-string: USBMidi
help-string: USBMidi 0.06 USBMidi driver  Pete Everett
date-string: 08 Sep 2023

initialisation-code: module_init
finalisation-code: module_term
vector-handlers: upcallv
service-call-handler: service_call 0x58,0x79,0xD2
generic-veneers: service_callback, timer_callback, upcall_callback,
  driver1_info, driver1_init, driver1_receive,
  driver2_info, driver2_init, driver2_receive,
  driver3_info, driver3_init, driver3_receive,
  driver4_info, driver4_init, driver4_receive

swi-chunk-base-number: &CDEC0
swi-handler-code: module_swi
swi-decoding-table: USBMidi,
  Control

command-keyword-table: module_command
  USBMidi(,
    min-args:1,
    max-args:10,
    invalid-syntax: "Syntax:\tUSBMidi [-option [-option ...]]\n",
    help-text: "Sets Debug options for the USBMIDI driver\n"

"Syntax:\tUSBMidi [-option [-option ...]]\n"
"Options:\n"
  "\t-i   information on port connections\n"
  "\t-i+  detailed open port connections\n"
"the following are for testing\n"
  "\t-o open log file in the current directory\n"
  "\t-c close log file\n"
  "\t-d<x> x = the sum of the following values\n"
    "\t\t1 = log midi messages\n"
    "\t\t2 = log attach/unplug progress\n"
    "\t\t4 = log buffer status and timing\n")

