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 http://git.chromium.org/gitweb/?p=chromium/chromium.git;a=commitdiff;h=aae0617a702629b6bc0602cc9e1821b6fcb4898f

walzer@cocos2d-x.org 2014-10-08 02:55

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

This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8258

Atom PDF

Status:Closed
Start date:2013-11-16
Priority:Low
Due date:
Assignee:-
% Done:

0%

Category:native client, windows
Target version:-