mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-02-11 11:27:16 +07:00
Exposed interfaces to public
This commit is contained in:
parent
d75fa8661c
commit
f247dc00bf
@ -289,13 +289,13 @@ public class MappedKey implements Iterable<Integer> {
|
|||||||
return l != null && ASSIGNMENT_LISTENERS.remove(l);
|
return l != null && ASSIGNMENT_LISTENERS.remove(l);
|
||||||
}
|
}
|
||||||
|
|
||||||
interface AssignmentListener {
|
public interface AssignmentListener {
|
||||||
void onAssigned(MappedKey key, @Assignment int assignment, @Keycode int keycode);
|
void onAssigned(MappedKey key, @Assignment int assignment, @Keycode int keycode);
|
||||||
void onUnassigned(MappedKey key, @Assignment int assignment, @Keycode int keycode);
|
void onUnassigned(MappedKey key, @Assignment int assignment, @Keycode int keycode);
|
||||||
void onFirstAssignment(MappedKey key, @Assignment int assignment, @Keycode int keycode);
|
void onFirstAssignment(MappedKey key, @Assignment int assignment, @Keycode int keycode);
|
||||||
}
|
}
|
||||||
|
|
||||||
interface StateListener {
|
public interface StateListener {
|
||||||
void onPressed(MappedKey key, @Keycode int keycode);
|
void onPressed(MappedKey key, @Keycode int keycode);
|
||||||
void onDepressed(MappedKey key, @Keycode int keycode);
|
void onDepressed(MappedKey key, @Keycode int keycode);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user