Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. ## Disable Gamepad input for Plex Media Player
  2.  
  3. ```
  4. PLEX_DIR="${HOME}/Library/Application Support/Plex Media Player"
  5. cat > "${PLEX_DIR}/inputmaps/dualshock4-xbox-emulate.json" <<EOF
  6. {
  7. "name": "Playstation Dual Shock 4 Windows Mode",
  8. "idmatcher": "Microsoft.*joystick driver",
  9. "mapping": {
  10. }
  11. }
  12. EOF
  13. ```
  14.  
  15. ```
  16. PLEX_DIR="${HOME}/Library/Application Support/Plex Media Player"
  17. cat > "${PLEX_DIR}/inputmaps/dualshock4.json" <<EOF
  18. {
  19. "name": "Playstation Dual Shock 4",
  20. "idmatcher": "Wireless Controller",
  21. "mapping": {
  22. }
  23. }
  24. EOF
  25. ```
  26.  
  27. ```
  28. PLEX_DIR="${HOME}/Library/Application Support/Plex Media Player"
  29. cat > "${PLEX_DIR}/inputmaps/xbox-controller-mac.json" <<EOF
  30. {
  31. "name": "Xbox Controller",
  32. "idmatcher": "XBOX360.*|.*360.*Controller",
  33. "mapping": {
  34. }
  35. }
  36. EOF
  37. ```
  38.  
  39.  
  40. ```
  41. PLEX_DIR="${HOME}/Library/Application Support/Plex Media Player"
  42. cat > "${PLEX_DIR}/inputmaps/xbox-controller-windows.json" <<EOF
  43. {
  44. "name": "Xbox Controller",
  45. "idmatcher": "XInput.*|Microsoft.*joystick driver",
  46. "mapping": {
  47. }
  48. }
  49. EOF
  50. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement