mirror of https://github.com/tp4a/teleport
pull/105/head
parent
8ac881912b
commit
8a954b1355
|
@ -270,7 +270,7 @@ $app.do_play = function () {
|
||||||
// console.log('mouse pos:', play_data, play_data.x, play_data.y);
|
// console.log('mouse pos:', play_data, play_data.x, play_data.y);
|
||||||
$app._draw_cursor(play_data.x, play_data.y);
|
$app._draw_cursor(play_data.x, play_data.y);
|
||||||
|
|
||||||
// console.log('cursor-t-delta:', play_data.t - $app.last_cursor_t);
|
console.log('cursor-t-delta:', play_data.t - $app.last_cursor_t);
|
||||||
|
|
||||||
$app.last_cursor_t = play_data.t;
|
$app.last_cursor_t = play_data.t;
|
||||||
}
|
}
|
||||||
|
|
|
@ -266,6 +266,10 @@ def read_rdp_record_data(record_id, offset):
|
||||||
# this is a data package.
|
# this is a data package.
|
||||||
_data = base64.b64encode(_data)
|
_data = base64.b64encode(_data)
|
||||||
temp['d'] = _data.decode()
|
temp['d'] = _data.decode()
|
||||||
|
elif _action == 0x12:
|
||||||
|
# this is a bitmap package.
|
||||||
|
_data = base64.b64encode(_data)
|
||||||
|
temp['d'] = _data.decode()
|
||||||
else:
|
else:
|
||||||
return None, 0, TPE_FAILED
|
return None, 0, TPE_FAILED
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue