get Relevant Context
fun getRelevantContext(inputCode: Int, contextInput: ContextInput, ctrl: Boolean, shift: Boolean, alt: Boolean): List<ContextType>
Returns a list of ContextType that are relevant to the provided input. This can return multiple inputs, which can be handled separately or together.
Author
fzzyhmstrs
Since
0.6.0
Parameters
input Code
Integer code. For keyboard inputs, will be the keyboard code, for mouse inputs, will be the mouse button code.
context Input
ContextInput what type of input event is being triggered.
ctrl
whether the Ctrl key is pressed
shift
whether the Shift key is pressed
alt
whether the Alt key is pressed