nspire-emus / firebird

Multi-platform emulator of TI Nspire calculators
GNU General Public License v3.0
692 stars 68 forks source link

Windows touch screen support #292

Closed PixelcrafterEXE closed 1 year ago

PixelcrafterEXE commented 1 year ago

I have a windows tablet running firebird but the keypad dock doesn't work porperly. By using a external trackpad or mouse everything works fine but if it try to tap with touchscreen or active pen the keys don't change collor (as they do when pressed with mouse) and the CAS doesn't get a input. Mobile view on Windows works.

Vogtinator commented 1 year ago

Looks like QQuickWidget does not accept touch events by default. We could either switch to QQuickView (have to do that for Qt6 anyway) or do ui->keypadWidget->setAttribute(Qt::WA_AcceptTouchEvents);.

Vogtinator commented 1 year ago

You can try one of the builds in https://github.com/nspire-emus/firebird/pull/293 once they're done.

Vogtinator commented 1 year ago

You can try one of the builds in #293 once they're done.

FTR, they're done: https://github.com/nspire-emus/firebird/actions/runs/3795934362 for both 32bit and 64bit Windows.

PixelcrafterEXE commented 1 year ago

Works. Thanks!