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.

44 lines
890 B

  1. sinclude(semdef.w)
  2. pushdef(_prediv,divnum)divert(-1)dnl Redirect output to /dev/null for now
  3. changecom(`|')
  4. |
  5. define(`_max', `ifelse($1>$2,1,$1,$2)')
  6. |
  7. define(`_CDefGenre', `[`'eval(_THISGENRE-1)]'
  8. `N=$1'
  9. `T1=$3'
  10. `T2=$4'
  11. `define(`_NID',0)'
  12. )dnl
  13. |
  14. define(`_CDefAxs',`_IniDef($1,$2,$3,$3,$5,`_GetINDEX')')dnl
  15. define(`_CDefBtn',`_IniDef($1,$2,$3,$3,$5,`_GetINDEX')')dnl
  16. define(`_CDefPov',`_IniDef($1,$2,$3,$3,$5,`_GetINDEX')')dnl
  17. |
  18. define(`_IniDef', `AN`'_NID=$3'
  19. `AI`'_NID=eval($5)'
  20. `AIN`'_NID=$1_$2'
  21. `_Next(`_NID',_NID)' dnl
  22. )
  23. |
  24. define(`_CDefine',`') dnl
  25. |
  26. define(`_CComment',`') dnl
  27. |
  28. define(`_Device', ) dnl
  29. |
  30. define(`_BeginPhysical', `;begin_internal')dnl
  31. |
  32. define(`_EndPhysical', `;end_internal')dnl
  33. |
  34. define(`PAxis', `;internal')dnl
  35. |
  36. define(`_EndFile', `[DirectInput]'
  37. `Version=0x800'
  38. )
  39. |
  40. changecom()
  41. divert(_prediv)popdef(`_prediv')dnl End of macro header file
  42. sinclude(semantic.w)