opencv方向鍵之類 - Play

By David
at 2013-08-23T00:00
at 2013-08-23T00:00
Table of Contents
我想用opencv做小遊戲,需要使用方向鍵,但似乎只有滑鼠的evnet,鍵盤的只有cvWaitKey。那是用來暫停的,但我想要按下不同方向鍵有不同作用,像是畫面中的圖片有位移之類的。能不能用win32api的WM_KEYDOWN代入呢?我試著寫了switch跟case,編譯沒問題,但執行時功能看來被跳過了。我是直接include後放在intmai
Tags:
Play
All Comments

By Zanna
at 2013-08-24T07:41
at 2013-08-24T07:41

By Regina
at 2013-08-27T05:35
at 2013-08-27T05:35

By Michael
at 2013-08-27T06:33
at 2013-08-27T06:33
Related Posts
我的電腦配備能玩刺客教條3嗎?

By Frederic
at 2013-08-23T00:00
at 2013-08-23T00:00
sf全圖不能開(無法從電腦取的主機資訊)

By Todd Johnson
at 2013-08-22T00:00
at 2013-08-22T00:00
伊莉影片好像都不能看???

By Edith
at 2013-08-22T00:00
at 2013-08-22T00:00
ps1的遊戲(賽車)

By Valerie
at 2013-08-22T00:00
at 2013-08-22T00:00
俠盜獵車手4

By Erin
at 2013-08-21T00:00
at 2013-08-21T00:00