Keyboard firmwares for Atmel AVR and Cortex-M
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MouseHostDevice.txt 2.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /** \file
  2. *
  3. * This file contains special DoxyGen information for the generation of the main page and other special
  4. * documentation pages. It is not a project source file.
  5. */
  6. /** \mainpage Mouse Host/Device Dual Role Demo
  7. *
  8. * \section Sec_Compat Demo Compatibility:
  9. *
  10. * The following list indicates what microcontrollers are compatible with this demo.
  11. *
  12. * \li Series 7 USB AVRs (AT90USBxxx7)
  13. *
  14. * \section Sec_Info USB Information:
  15. *
  16. * The following table gives a rundown of the USB utilization of this demo.
  17. *
  18. * <table>
  19. * <tr>
  20. * <td><b>USB Mode:</b></td>
  21. * <td>Dual Mode Host/Device</td>
  22. * </tr>
  23. * <tr>
  24. * <td><b>USB Class:</b></td>
  25. * <td>Human Interface Device (HID)</td>
  26. * </tr>
  27. * <tr>
  28. * <td><b>USB Subclass:</b></td>
  29. * <td>N/A</td>
  30. * </tr>
  31. * <tr>
  32. * <td><b>Relevant Standards:</b></td>
  33. * <td>USBIF HID Specification, USBIF HID Usage Tables</td>
  34. * </tr>
  35. * <tr>
  36. * <td><b>Supported USB Speeds:</b></td>
  37. * <td>Low Speed Mode, Full Speed Mode</td>
  38. * </tr>
  39. * </table>
  40. *
  41. * \section Sec_Description Project Description:
  42. *
  43. * Mouse host/device dual role demonstration application. This gives a simple
  44. * reference application for implementing a dual role USB Mouse, for USB mice
  45. * using the standard mouse boot protocol HID profile.
  46. *
  47. * <b>When in host mode:</b>
  48. * Mouse movement and button presses are displayed on the board LEDs,
  49. * as well as printed out the serial terminal as formatted dY, dY and
  50. * button status information.
  51. *
  52. * This uses a naive method where the mouse is set to Boot Protocol mode, so
  53. * that the report structure is fixed and known. A better implementation
  54. * uses the HID report parser for correct report data processing across
  55. * all compatible mice with advanced characteristics, as shown in the
  56. * MouseHostWithParser Host demo application.
  57. *
  58. * Currently only single interface mice are supported.
  59. *
  60. * <b>When in device mode:</b>
  61. * Upon enumeration the system will automatically enumerate and function
  62. * as a mouse when the USB connection to a host is present. To use
  63. * the mouse, move the joystick to move the pointer, and push the
  64. * joystick inwards to simulate a left-button click. The HWB serves as
  65. * the right mouse button.
  66. *
  67. * \section Sec_Options Project Options
  68. *
  69. * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
  70. *
  71. * <table>
  72. * <tr>
  73. * <td>
  74. * None
  75. * </td>
  76. * </tr>
  77. * </table>
  78. */