21 lines
410 B
Java
21 lines
410 B
Java
|
package org.warp.picalculator.device;
|
||
|
|
||
|
public class InputManager {
|
||
|
private final Keyboard keyboard;
|
||
|
private final HardwareTouchDevice touchDevice;
|
||
|
|
||
|
public InputManager(Keyboard k, HardwareTouchDevice t) {
|
||
|
this.keyboard = k;
|
||
|
this.touchDevice = t;
|
||
|
}
|
||
|
|
||
|
public Keyboard getKeyboard() {
|
||
|
return keyboard;
|
||
|
}
|
||
|
|
||
|
public HardwareTouchDevice getTouchDevice() {
|
||
|
return touchDevice;
|
||
|
}
|
||
|
|
||
|
}
|