react_juce/core/View.cpp
static juce::var makeViewEventObject (const juce::KeyPress& ke, const View &view)
        {
            // TODO: Get all of it!
            return makeViewEventObject({
                {"key", juce::String(ke.getTextCharacter())},
                {"keyCode", ke.getKeyCode()},
            }, view);
        }
/** And another little helper for DynamicObject construction. */
And another little helper for DynamicObject construction.
And another little helper for DynamicObject construction .
static juce::var makeViewEventObject (const juce::KeyPress& ke, const View &view)
        {
            return makeViewEventObject({
                {"key", juce::String(ke.getTextCharacter())},
                {"keyCode", ke.getKeyCode()},
            }, view);
        }
static juce :: var makeViewEventObject ( const juce :: KeyPress & ke , const View & view ) { return makeViewEventObject ( { { " " , juce :: String ( ke . getTextCharacter ( ) ) } , { " " , ke . getKeyCode ( ) } , } , view ) ; }
And another little helper for DynamicObject construction.
And another little helper for DynamicObject construction .
// TODO: Get all of it!