Source code of Windows XP (NT5)
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.

83 lines
3.8 KiB

  1. /*++
  2. Copyright (c) 1990-1998 Microsoft Corporation, All Rights Reserved
  3. Module Name:
  4. i8042str.c
  5. Abstract:
  6. These are the string constants used in the i8042prt drivers.
  7. Using pointers to these string allows for better memory
  8. utilization and more readable code
  9. Revision History:
  10. 08/26/96 - Initial Revision
  11. --*/
  12. #ifndef _I8042STR_C_
  13. #define _I8042STR_C_
  14. //
  15. // Include the definitions file
  16. //
  17. #include "i8042prt.h"
  18. //
  19. // Define some of the constant strings used for the debugger
  20. //
  21. const PSTR pBus = I8042_BUS_A;
  22. const PSTR pController = I8042_CONTROLLER_A;
  23. const PSTR pDriverName = I8042_DRIVER_NAME_A;
  24. const PSTR pIsrKb = I8042_ISR_KB_A;
  25. const PSTR pIsrMou = I8042_ISR_MOU_A;
  26. const PSTR pEnter = I8042_ENTER_A;
  27. const PSTR pExit = I8042_EXIT_A;
  28. const PSTR pInfo = I8042_INFO_A;
  29. const PSTR pNumber = I8042_NUMBER_A;
  30. const PSTR pPeripheral = I8042_PERIPHERAL_A;
  31. const PSTR pType = I8042_TYPE_A;
  32. const PSTR pDumpHex = I8042_DUMP_HEX_A;
  33. const PSTR pDumpDecimal = I8042_DUMP_DECIMAL_A;
  34. const PSTR pDumpWideString = I8042_DUMP_WIDE_STRING_A;
  35. const PSTR pDumpExpecting = I8042_DUMP_EXPECTING_A;
  36. const PSTR pDumpExpectingAck = I8042_DUMP_EXPECTING_ACK_A;
  37. const PSTR pDumpExpectingIdAck = I8042_DUMP_EXPECTING_ID_ACK_A;
  38. const PSTR pFncDriverEntry = I8042_FNC_DRIVER_ENTRY_A;
  39. const PSTR pFncFindWheelMouse = I8042_FNC_FIND_WHEEL_MOUSE_A;
  40. const PSTR pFncInitializeMouse = I8042_FNC_INITIALIZE_MOUSE_A;
  41. const PSTR pFncKeyboardConfiguration = I8042_FNC_KEYBOARD_CONFIGURATION_A;
  42. const PSTR pFncMouseEnable = I8042_FNC_MOUSE_ENABLE_A;
  43. const PSTR pFncMouseInterrupt = I8042_FNC_MOUSE_INTERRUPT_A;
  44. const PSTR pFncMousePeripheral = I8042_FNC_MOUSE_PERIPHERAL_A;
  45. const PSTR pFncServiceParameters = I8042_FNC_SERVICE_PARAMETERS_A;
  46. //
  47. // Define some Constant strings that the drivers uses
  48. //
  49. const PWSTR pwDebugFlags = I8042_DEBUGFLAGS_W;
  50. const PWSTR pwIsrDebugFlags = I8042_ISRDEBUGFLAGS_W;
  51. const PWSTR pwDevice = I8042_DEVICE_W;
  52. const PWSTR pwForwardSlash = I8042_FORWARD_SLASH_W;
  53. const PWSTR pwParameters = I8042_PARAMETERS_W;
  54. const PWSTR pwResendIterations = I8042_RESEND_ITERATIONS_W;
  55. const PWSTR pwPollingIterations = I8042_POLLING_ITERATIONS_W;
  56. const PWSTR pwPollingIterationsMaximum = I8042_POLLING_ITERATIONS_MAXIMUM_W;
  57. const PWSTR pwKeyboardDataQueueSize = I8042_KEYBOARD_DATA_QUEUE_SIZE_W;
  58. const PWSTR pwMouseDataQueueSize = I8042_MOUSE_DATA_QUEUE_SIZE_W;
  59. const PWSTR pwNumberOfButtons = I8042_NUMBER_OF_BUTTONS_W;
  60. const PWSTR pwSampleRate = I8042_SAMPLE_RATE_W;
  61. const PWSTR pwMouseResolution = I8042_MOUSE_RESOLUTION_W;
  62. const PWSTR pwOverrideKeyboardType = I8042_OVERRIDE_KEYBOARD_TYPE_W;
  63. const PWSTR pwOverrideKeyboardSubtype = I8042_OVERRIDE_KEYBOARD_SUBTYPE_W;
  64. const PWSTR pwKeyboardDeviceBaseName = I8042_KEYBOARD_DEVICE_BASE_NAME_W;
  65. const PWSTR pwPointerDeviceBaseName = I8042_POINTER_DEVICE_BASE_NAME_W;
  66. const PWSTR pwMouseSynchIn100ns = I8042_MOUSE_SYNCH_IN_100NS_W;
  67. const PWSTR pwPollStatusIterations = I8042_POLL_STATUS_ITERATIONS_W;
  68. const PWSTR pwEnableWheelDetection = I8042_ENABLE_WHEEL_DETECTION_W;
  69. const PWSTR pwPowerCaps = I8042_POWER_CAPABILITIES_W;
  70. #endif