IcarusWorks / ember-key-manager

A service for (un)binding keyboard up and down events.
MIT License
42 stars 11 forks source link

Registering space as an execution key, requires a literal ` ` to be typed #25

Open patrickberkeley opened 6 years ago

patrickberkeley commented 6 years ago

It's weird to have the executionKey be whitespace:

keyManager.addMacro({
            executionKey: ' ', // <- weirdness
            keyEvent: 'keydown',
            callback: () => {
                console.log('spacebar');
            }
        })
jordpo commented 6 years ago

This would make more sense as space.