Projects > cpp > Issues > Bug #3216

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

WM_TOUCH dpi-aware scaling problem

Bug #3216 [Closed]
laie0 2013-11-16 15:46 . Updated over 8 years ago

Firstly, I am a PC user with MS surface pro - windows8/x64. And I use modified dpi settings.
The option’s: Control Panel > Appearance and Personalization> Display and select Larger - 150% radio box.
I ran the HelloCpp sample project and touch feature was not working properly.
I traced to line 411 of CCEGLView.cpp: input.x = TOUCH_COORD_TO_PIXEL(ti.x);
It seems like input.x is wrongly scaled.
The same issue could be found on;a=commitdiff;h=aae0617a702629b6bc0602cc9e1821b6fcb4898f 2014-10-08 02:55

Redmine issue system is closed, we are using github issue system instead.

This issue was moved to

Atom PDF

Start date:2013-11-16
Due date:
% Done:


Category:native client, windows
Target version:-