final boolean writeMouseCommands(int[] cmds) throws DeviceException { boolean ok = true; for (int i = 0; i < cmds.length; i++) { ok &= writeMouseCommand(cmds[i]); } return ok;
final synchronized boolean writeMouseCommands(int cmd, int[] params, int returnCnt) throws DeviceException {   mouseChannel.clear();  if (params == null) { return sendMouseCommand(cmd, returnCnt); } else { if (!sendMouseCommand(cmd, 0)) { return false; } final int cnt = params.length; for (int i = 0; i < cnt - 1; i++) { if (!sendMouseCommand(params[i], 0)) { return false; } } return sendMouseCommand(params[cnt-1], returnCnt); }
	final boolean writeMouseCommands(int[] cmds) throws DeviceException {		boolean ok = true;		for (int i = 0; i < cmds.length; i++) {			ok &= writeMouseCommand(cmds[i]);		}		return ok;	}