PS2: Disable scaling2
This commit is contained in:
parent
c8949b01d0
commit
cdd1c77230
12
src/ps2.js
12
src/ps2.js
|
@ -259,12 +259,12 @@ PS2.prototype.send_mouse_packet = function(dx, dy)
|
|||
|
||||
this.last_mouse_packet = Date.now();
|
||||
|
||||
if(this.scaling2)
|
||||
{
|
||||
// only in automatic packets, not 0xEB requests
|
||||
delta_x = this.apply_scaling2(delta_x);
|
||||
delta_y = this.apply_scaling2(delta_y);
|
||||
}
|
||||
//if(this.scaling2)
|
||||
//{
|
||||
// // only in automatic packets, not 0xEB requests
|
||||
// delta_x = this.apply_scaling2(delta_x);
|
||||
// delta_y = this.apply_scaling2(delta_y);
|
||||
//}
|
||||
|
||||
this.mouse_buffer.push(info_byte);
|
||||
this.mouse_buffer.push(delta_x);
|
||||
|
|
Loading…
Reference in a new issue