commonMain.io.nacular.doodle.system.KeyInputService.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core-jvm Show documentation
Show all versions of core-jvm Show documentation
A pure Kotlin, UI framework for the Web and Desktop
package io.nacular.doodle.system
import io.nacular.doodle.event.KeyState
public interface KeyInputService {
public operator fun plusAssign (listener: Listener)
public operator fun minusAssign(listener: Listener)
public operator fun plusAssign (processor: Preprocessor)
public operator fun minusAssign(processor: Preprocessor)
public operator fun plusAssign (processor: Postprocessor)
public operator fun minusAssign(processor: Postprocessor)
public interface Listener {
public operator fun invoke(keyState: KeyState): Boolean
}
public interface Preprocessor {
public operator fun invoke(keyState: KeyState): Boolean
}
public interface Postprocessor {
public operator fun invoke(keyState: KeyState): Boolean
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy