1. {
  2. "title": "SandS",
  3. "rules": [
  4. {
  5. "manipulators": [
  6. {
  7. "description": "Change spacebar to left_shift. (Post spacebar if pressed alone) Except Illustrator and Photoshop",
  8. "from": {
  9. "key_code": "spacebar",
  10. "modifiers": {
  11. "optional": [
  12. "any"
  13. ]
  14. }
  15. },
  16. "to": [
  17. {
  18. "key_code": "left_shift"
  19. }
  20. ],
  21. "to_if_alone": [
  22. {
  23. "key_code": "spacebar"
  24. }
  25. ],
  26. "conditions" : [
  27. {
  28. "type" : "frontmost_application_unless",
  29. "bundle_identifiers" : [
  30. "^com\\.adobe\\.photoshop$",
  31. "^com\\.adobe\\.illustrator$"
  32. ]
  33. }
  34. ],
  35. "type": "basic"
  36. }
  37. ]
  38. },
  39. {
  40. "manipulators": [
  41. {
  42. "description": "Change spacebar to left_shift. (Post spacebar if pressed alone)",
  43. "from": {
  44. "key_code": "spacebar",
  45. "modifiers": {
  46. "optional": [
  47. "any"
  48. ]
  49. }
  50. },
  51. "to": [
  52. {
  53. "key_code": "left_shift"
  54. }
  55. ],
  56. "to_if_alone": [
  57. {
  58. "key_code": "spacebar"
  59. }
  60. ],
  61. "type": "basic"
  62. }
  63. ]
  64. }
  65. ]
  66. }

SandS