{ "abstract" : "The keyboard code for the [ or { key.", "availability" : [ { "beta" : false, "deprecated" : false, "introducedAt" : "14.0", "name" : "iOS", "unavailable" : false }, { "beta" : false, "deprecated" : false, "introducedAt" : "14.0", "name" : "iPadOS", "unavailable" : false }, { "beta" : false, "deprecated" : false, "introducedAt" : "14.0", "name" : "Mac Catalyst", "unavailable" : false }, { "beta" : false, "deprecated" : false, "introducedAt" : "11.0", "name" : "macOS", "unavailable" : false }, { "beta" : false, "deprecated" : false, "introducedAt" : "14.0", "name" : "tvOS", "unavailable" : false }, { "beta" : false, "deprecated" : false, "introducedAt" : "1.0", "name" : "visionOS", "unavailable" : false } ], "codeExamples" : [ ], "contentHash" : "b2df41c3f035a527f53557c17aba521ed8d6072ec5412eb0f01582a2e9044e83", "crawlDepth" : 5, "crawledAt" : "2026-05-03T10:52:50Z", "declaration" : { "code" : "static let openBracket: GCKeyCode", "language" : "swift" }, "id" : "6FD28889-CF57-2C5C-6E47-38CCEAADF240", "kind" : "property", "language" : "swift", "module" : "Game Controller", "platforms" : [ "iOS", "iPadOS", "Mac Catalyst", "macOS", "tvOS", "visionOS" ], "rawMarkdown" : "---\nsource: https:\/\/developer.apple.com\/documentation\/gamecontroller\/gckeycode\/openbracket\ncrawled: 2026-05-03T10:52:50Z\n---\n\n# openBracket\n\n**Type Property**\n\nThe keyboard code for the [ or { key.\n\n## Declaration\n\n```swift\nstatic let openBracket: GCKeyCode\n```\n\n## Punctuation and Command Keys\n\n- **tab**: The keyboard code for the Tab key.\n- **spacebar**: The keyboard code for the Space Bar key.\n- **hyphen**: The keyboard code for the - or _ key.\n- **equalSign**: The keyboard code for the = or + key.\n- **closeBracket**: The keyboard code for the ] or } key.\n- **backslash**: The keyboard code for the \\ or | key.\n- **nonUSPound**: The keyboard code for the non-US Pound or _ key.\n- **semicolon**: The keyboard code for the ; or : key.\n- **quote**: The keyboard code for the ’ or “ key.\n- **graveAccentAndTilde**: The keyboard code for the Grave Accent or Tilde key.\n- **comma**: The keyboard code for the Comma or < key.\n- **period**: The keyboard code for the Period or > key.\n- **slash**: The keyboard code for the \/ or ? key.\n- **capsLock**: The keyboard code for the Caps Lock key.\n- **deleteOrBackspace**: The keyboard code for the Delete or Backspace key.\n\n", "sections" : [ { "content" : "", "items" : [ { "description" : "The keyboard code for the Tab key.", "name" : "tab", "url" : "https:\/\/developer.apple.com\/documentation\/GameController\/GCKeyCode\/tab" }, { "description" : "The keyboard code for the Space Bar key.", "name" : "spacebar", "url" : "https:\/\/developer.apple.com\/documentation\/GameController\/GCKeyCode\/spacebar" }, { "description" : "The keyboard code for the - or _ key.", "name" : "hyphen", "url" : "https:\/\/developer.apple.com\/documentation\/GameController\/GCKeyCode\/hyphen" }, { "description" : "The keyboard code for the = or + key.", "name" : "equalSign", "url" : "https:\/\/developer.apple.com\/documentation\/GameController\/GCKeyCode\/equalSign" }, { "description" : "The keyboard code for the ] or } key.", "name" : "closeBracket", "url" : "https:\/\/developer.apple.com\/documentation\/GameController\/GCKeyCode\/closeBracket" }, { "description" : "The keyboard code for the \\ or | key.", "name" : "backslash", "url" : "https:\/\/developer.apple.com\/documentation\/GameController\/GCKeyCode\/backslash" }, { "description" : "The keyboard code for the non-US Pound or _ key.", "name" : "nonUSPound", "url" : "https:\/\/developer.apple.com\/documentation\/GameController\/GCKeyCode\/nonUSPound" }, { "description" : "The keyboard code for the ; or : key.", "name" : "semicolon", "url" : "https:\/\/developer.apple.com\/documentation\/GameController\/GCKeyCode\/semicolon" }, { "description" : "The keyboard code for the ’ or “ key.", "name" : "quote", "url" : "https:\/\/developer.apple.com\/documentation\/GameController\/GCKeyCode\/quote" }, { "description" : "The keyboard code for the Grave Accent or Tilde key.", "name" : "graveAccentAndTilde", "url" : "https:\/\/developer.apple.com\/documentation\/GameController\/GCKeyCode\/graveAccentAndTilde" }, { "description" : "The keyboard code for the Comma or < key.", "name" : "comma", "url" : "https:\/\/developer.apple.com\/documentation\/GameController\/GCKeyCode\/comma" }, { "description" : "The keyboard code for the Period or > key.", "name" : "period", "url" : "https:\/\/developer.apple.com\/documentation\/GameController\/GCKeyCode\/period" }, { "description" : "The keyboard code for the \/ or ? key.", "name" : "slash", "url" : "https:\/\/developer.apple.com\/documentation\/GameController\/GCKeyCode\/slash" }, { "description" : "The keyboard code for the Caps Lock key.", "name" : "capsLock", "url" : "https:\/\/developer.apple.com\/documentation\/GameController\/GCKeyCode\/capsLock" }, { "description" : "The keyboard code for the Delete or Backspace key.", "name" : "deleteOrBackspace", "url" : "https:\/\/developer.apple.com\/documentation\/GameController\/GCKeyCode\/deleteOrBackspace" } ], "title" : "Punctuation and Command Keys" } ], "source" : "appleJSON", "title" : "openBracket", "url" : "https:\/\/developer.apple.com\/documentation\/gamecontroller\/gckeycode\/openbracket" }