Browse Source

Updated some incorrect documentation for KeyPress

tags/2021-05-28
ed 6 years ago
parent
commit
54ad9fca56
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_gui_basics/keyboard/juce_KeyPress.h

+ 2
- 2
modules/juce_gui_basics/keyboard/juce_KeyPress.h View File

@@ -53,8 +53,8 @@ public:
/** Creates a KeyPress for a key and some modifiers.
e.g.
CTRL+C would be: KeyPress ('c', ModifierKeys::ctrlModifier)
SHIFT+Escape would be: KeyPress (KeyPress::escapeKey, ModifierKeys::shiftModifier)
CTRL+C would be: KeyPress ('c', ModifierKeys::ctrlModifier, 0)
SHIFT+Escape would be: KeyPress (KeyPress::escapeKey, ModifierKeys::shiftModifier, 0)
@param keyCode a code that represents the key - this value must be
one of special constants listed in this class, or an


Loading…
Cancel
Save