home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J / os42j.iso / NextDeveloper / Demos / Keyboard.app / English.lproj / keyboard.nib / data.nib (.txt) < prev   
NeXT TypedStream Data  |  1994-09-27  |  13KB  |  147 lines

  1. typedstream
  2. IBObjectData
  3. Object
  4. CustomObject
  5. KeyboardApp
  6. ScrollView
  7.     Responder
  8. Button
  9. Control
  10. ButtonCell
  11. ActionCell
  12. ASCII
  13.     Helvetica
  14. MenuTemplate
  15. *@*@ccc
  16. OtherViews
  17. Matrix
  18. @:@iiii
  19. MenuCell
  20. Symbol
  21. Function
  22. ff@@#::s
  23.     PopUpList
  24. popUp:
  25. NXImage
  26. NXpopup
  27. ClipView
  28. CustomView
  29. KeycodeView
  30. Scroller
  31. _doScroller:
  32. @@@ffs
  33. Keyboard
  34. Document
  35. Open...
  36. Save As...
  37. Revert to Saved
  38. Use Keymap
  39. submenuAction:
  40. NXmenuArrow
  41. Paste
  42. Select All
  43. Tools
  44. Character Palette
  45. Windows
  46. Arrange in Front
  47. Miniaturize Window
  48. Close Window
  49. Info Panel...
  50. Help...
  51. ciifffcfffs
  52. [8383c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
  53. \margl40
  54. \margr40
  55. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b\i0\ulnone\fs24\fc0\cf0 Keyboard Help\
  56. \b0 Keyboard is an app designed for modifying keymaps or defining your own keymaps from scratch.\
  57. \b .keymapping files\
  58. \b0 First, a few notes about .keymapping files and 
  59. \i keymaps
  60. \i0 .  Keymapping files are actually "fat", containing one or more 
  61. \i keymaps
  62. \i0  within them.  A keymap is a mapping between keycodes for a particular keyboard and the effect that that particular key is supposed to have.  So each keymap is specific to the layout and keycodes that are generated by a particular keyboard type.  All of the keymapping files that NeXT ships are fat for the three basic keyboard interfaces that we support: NeXT's original keyboard, ADB keyboards, and PC (ACE) keyboards.\
  63. \b Keyboard subtypes\
  64. \b0 Within a given keyboard interface, there may be several subtypes.  For example, the PC keyboard has a 101 key layout (USA and Japan), a 102 key layout (Europe), a 105 key layout (Japan) and a 106 key layout (Japan).  While these are nearly identical, and are in fact supersets/subsets of each other with regard to the keycodes they generate, the locations of the keys vary, and some define more keycodes than others.  For this reason, you may want to make your keymapping files more specific for a keyboard subtype.\
  65. \b Editing an existing keymapping file\
  66. \b0 To open a keymapping file, simply use the menu item Document->Open and select the file you want to edit.  A window will open that shows a picture of a keyboard.  \
  67. In the top left of the window is a browser with a list of all of the keymaps that are in this particular keymapping file.  When editing, you are only editing one keymap at a time, the one that is highlighted in the browser.  
  68. \i Note that when you make a change in one keymap, it is not also made in other keymaps!  
  69. \i0  Under the browser are two buttons:  remove and add.  This allows you to add and remove keymaps from the keymapping file.  When you add a keymap, it will do a best guess translation from other keymaps in the file.\
  70. In the upper right is the keycap inspector.  This inspector is where you'll be looking at and modifying the attributes of individual keys.  When you click on a key on the keyboard picture, it will hilight and the inspector will tell you information about it.  It shows what kind of key is it (character, modifier, special, sequence, dead) in the popup in the upper right hand corner, and based on that shows specific information about it.  For characters, it shows the character that is generated, whether it is an alphabetic key (whether it uses the shifted character when caps lock is down), and what character set its character is from (ascii, symbol or function).  It also has a text field with the hexadecimal value of the character code that it generates. For modifiers and special keys, there is a list of radio buttons that allow you to select which modifier or special key it generates.   By changing any of these popups, radio buttons, switches and text fields, you can change any of the attributes for a given key.\
  71. If a key is a character key, it can actually generate several different characters.  When modifier keys are used in conjuction with character keys, different keys are generated.   These modifiers are shift, alpha lock, alternate and control.  For example, when you hold down shift and press a key that normally generates 'a', it may now generate 'A'.  Each combination of these keys can generate a different character code.  So key, alt-key, shift-key and alt-shift-key can all generate different characters.\
  72. In the left side of the inspector is a list of switches that represent the character modifiers.  When you enable these switches, the keycaps change to display the characters that are generated when that combination of modifiers is being held down.  So for example, if you click on the shift and alternate switches, the keyboard changes to reflect the keys that would be generated if you hold down the shift and alternate keys with this keymap.   Likewise, when editing character keys, you are editing them with for the modifiers that are selected.  So if you edit a (character) key while the shift and alternate switches are marked, you are modifying the alt-shift version of the key.  The other characters for that key are untouched.\
  73. Rather than having to know the hex codes for the characters you want to use and type them into the text field, Keyboard has a Character Code Palette that contains all of the character codes.   To use the palette, simply drag the character you want on to the key (on the picture of the keyboard) that you want to edit.  As before, the modifier switches that are selected affect which part of the key you are modifying.\
  74. \b Creating a new keymap\
  75. \b0 Most likely, you won't want to use this option as it will be more work than starting from an existing keymapping file and editing it for your needs.  When you use the Document->New menu item, it copies the keymapping that's being used currently out of memory and into an empty keymapping document.  As a result, you'll only have one keymap in your document (the one for your machine).  Editing a new keyboard is the same as editing a previously existing one.\
  76. \b How to use keymaps once you've created them
  77. \b0 \
  78. Put the .keymapping file into your ~/Library/Keyboards when you've finished editing it.  Then restart Preferences and go to the Localization module in Preferences (the flags icon) and your new keymapping file will show up in the list of keymaps.  Just select your keymapping to use it.  It will then be your default keymapping each time you login.\
  79. Key sequences\
  80. \b0 Key sequences are a little more complicated than your other keyboard types.  Basically, this feature allows you to assign multiple characters to a single key.  For example, you could create a key sequnce with the word "NEXTSTEP" and bind it to the F2 key on your keyboard.  \
  81. The best way to think of sequences is that you create a list of sequences for a given keymap.   This list of sequences isn't tied to anything.  It's as if you just created a new list of characters which, once created, could be assigned to one or more keys.  So in the implementation, the creation and editing of sequences is separated from the linking of sequences to specific keys.\
  82. To edit the sequences for your keymap, click on the "Sequence  List" button in the keymapping window.  This will create a sequences window.  From here, you can add, remove and edit sequences.  None of the changes that you make in the sequences window are actually made in the keymap until you click on the "Set" button.  You can back out your changes at any time by clicking on the "Cancel" button.  To add a new sequence, you click on the "Add" button.   This will add a new sequence to the list of sequences in the top of the window, and display the selected sequence (your new sequence) in the key matrix at the bottom of the window.  The key matrix contains all of the keys that make up your sequence.  The key that is selected (depressed) is where your keystrokes will go.  If the last (dimmed) key in the sequence is selected, new characters will be added to the end of the sequence.  If another key is selected, the character will be overwritten, and the next key will be selected.  When you click on the "Set" button, all of the changes that you've made to the list of sequences is applied to the keymap and can now be assigned to individual keys.\
  83. To use one of the sequences, simple select the key you wish to assign a sequence to, and select sequence in the key type popup list.  This will present you with a list of all of the sequences you've created for this keymap.  The one that is selected is the sequence that's assigned to the key.\
  84. \b Bugs and missing features\
  85. \b0 \
  86. There are several bugs and missing features in this version of Keyboard.\
  87. \i Missing Features\
  88. \i0\fi-680\li680     
  89. Keyboard.app doesn't automatically apply changes made in one keyboard type to the other keyboards in your keymapping file.\
  90. \fi0\li0     \
  91. \i Bugs
  92. \i0 \
  93. \fi-680\li680     
  94. Sometimes the automatic translation of the keymap from one keyboard type to another isn't very good.\
  95. \fi0\li0     
  96. NXCursor
  97. NXibeam
  98. WindowTemplate
  99. iiii***@s@
  100. Panel
  101. Cancel
  102. NXreturnSign
  103.     NXBrowser
  104. @@::#@ssssi**
  105. NXBrowserCell
  106. BrowserItem
  107.     Keyboards
  108. Keyboard List
  109. Character Code Palette
  110. InfoManager
  111.     CharCodes
  112. MainMenu
  113. File's Owner
  114. [33@]
  115. IBControlConnector
  116. IBConnector
  117. hide:
  118. terminate:
  119. copy:
  120. paste:
  121. selectAll:
  122. performMiniaturize:
  123. performClose:
  124. arrangeInFront:
  125.     openFile:
  126. switchCharSet:
  127. saveCurrent:
  128. saveAs:
  129. IBOutletConnector
  130. newKeyboardWin
  131. okNewKeyboard:
  132. cancelNewKeyboard:
  133. newDocument:
  134. charcodePalette
  135. orderFront:
  136. infoManager
  137. showInfoPanel:
  138. revert:
  139. saveMenu
  140. revertMenu
  141. saveAsMenu
  142. useMenu
  143. useKeymap:
  144. delegate
  145. keyboardBrowser
  146. makeKeyAndOrderFront:
  147.