Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

窗口交互无反应 #2

Open
wyzwzz opened this issue Apr 22, 2022 · 3 comments
Open

窗口交互无反应 #2

wyzwzz opened this issue Apr 22, 2022 · 3 comments

Comments

@wyzwzz
Copy link

wyzwzz commented Apr 22, 2022

运行后可以出现画面 但是键盘交互没有反应 相机只能移动视角 按下ctrl后 imgui上的鼠标交互也没有反应 程序右上角的关闭也没反应 请问这是什么问题导致的

@AirGuanZ
Copy link
Owner

AirGuanZ commented Apr 22, 2022

可能是输入法的原因,我的窗口框架比较简陋,没处理这个。试着用默认的英语(美国)输入法启动呢

@wyzwzz
Copy link
Author

wyzwzz commented Apr 22, 2022

可以了 不过不显示指针的时候 使用tab+alt切换窗口后似乎指针一直停留在原渲染程序窗口的中心无法移动

@AirGuanZ
Copy link
Owner

因为没处理窗口丢失focus的事件,不过就是个小demo,懒得加了……

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants