A shortcut for this: ``` Observable.generate(emitter -> { scene.getAccelerators().put(new KeyCharacterCombination("c"), () -> emitter.onNext(true)); }); ```
Activity
thomasnield commentedon Mar 13, 2019
Can you put in a PR, thanks!
rcd27 commentedon Mar 14, 2019
What kind of shortcut do you want to see as result?
val keyCharObservable = eventsOf(scene, EventType<KeyCharacterCombination, "c">)?cebaa commentedon Mar 14, 2019
@rcd27
Since the signature is:
so maybe something like this:
rcd27 commentedon Mar 14, 2019
@thomasnield I think I'm able to do that