| 2409 |
AcceptWheelToCursor = TRUE; |
AcceptWheelToCursor = TRUE; |
| 2410 |
} |
} |
| 2411 |
break; |
break; |
| 2412 |
|
case 14001: // NetTerm mouse mode |
| 2413 |
|
if (ts.MouseEventTracking) |
| 2414 |
|
MouseReportMode = IdMouseTrackNetTerm; |
| 2415 |
|
break; |
| 2416 |
} |
} |
| 2417 |
} |
} |
| 2418 |
|
|
| 2539 |
case 7786: // Wheel to Cursor translation |
case 7786: // Wheel to Cursor translation |
| 2540 |
AcceptWheelToCursor = FALSE; |
AcceptWheelToCursor = FALSE; |
| 2541 |
break; |
break; |
| 2542 |
|
case 14001: // NetTerm mouse mode |
| 2543 |
|
MouseReportMode = IdMouseTrackNone; |
| 2544 |
|
break; |
| 2545 |
} |
} |
| 2546 |
} |
} |
| 2547 |
|
|
| 4355 |
if (x < 1) x = 1; |
if (x < 1) x = 1; |
| 4356 |
if (y < 1) y = 1; |
if (y < 1) y = 1; |
| 4357 |
|
|
| 4358 |
if (MouseReportMode != IdMouseTrackDECELR) { |
if (MouseReportMode != IdMouseTrackDECELR && MouseReportMode != IdMouseTrackNetTerm) { |
| 4359 |
if (x > 0xff - 32) x = 0xff - 32; |
if (x > 0xff - 32) x = 0xff - 32; |
| 4360 |
if (y > 0xff - 32) y = 0xff - 32; |
if (y > 0xff - 32) y = 0xff - 32; |
| 4361 |
} |
} |
| 4389 |
LastButton = Button; |
LastButton = Button; |
| 4390 |
break; |
break; |
| 4391 |
|
|
| 4392 |
|
case IdMouseTrackNetTerm: |
| 4393 |
|
len = _snprintf_s_l(Report, sizeof Report, _TRUNCATE, "\033}%d,%d\r", CLocale, y, x); |
| 4394 |
|
CommBinaryOut(&cv, Report, len); |
| 4395 |
|
return TRUE; |
| 4396 |
|
|
| 4397 |
case IdMouseTrackVT200Hl: /* not supported yet */ |
case IdMouseTrackVT200Hl: /* not supported yet */ |
| 4398 |
default: |
default: |
| 4399 |
return FALSE; |
return FALSE; |
| 4412 |
break; |
break; |
| 4413 |
|
|
| 4414 |
case IdMouseTrackX10: /* nothing to do */ |
case IdMouseTrackX10: /* nothing to do */ |
| 4415 |
|
case IdMouseTrackNetTerm: /* nothing to do */ |
| 4416 |
case IdMouseTrackVT200Hl: /* not supported yet */ |
case IdMouseTrackVT200Hl: /* not supported yet */ |
| 4417 |
default: |
default: |
| 4418 |
return FALSE; |
return FALSE; |
| 4438 |
case IdMouseTrackVT200Hl: /* not supported yet */ |
case IdMouseTrackVT200Hl: /* not supported yet */ |
| 4439 |
case IdMouseTrackX10: /* nothing to do */ |
case IdMouseTrackX10: /* nothing to do */ |
| 4440 |
case IdMouseTrackVT200: /* nothing to do */ |
case IdMouseTrackVT200: /* nothing to do */ |
| 4441 |
|
case IdMouseTrackNetTerm: /* nothing to do */ |
| 4442 |
default: |
default: |
| 4443 |
return FALSE; |
return FALSE; |
| 4444 |
} |
} |
| 4454 |
|
|
| 4455 |
case IdMouseTrackX10: /* nothing to do */ |
case IdMouseTrackX10: /* nothing to do */ |
| 4456 |
case IdMouseTrackVT200Hl: /* not supported yet */ |
case IdMouseTrackVT200Hl: /* not supported yet */ |
| 4457 |
|
case IdMouseTrackNetTerm: /* nothing to do */ |
| 4458 |
return FALSE; |
return FALSE; |
| 4459 |
} |
} |
| 4460 |
break; |
break; |