Hi ZhangAndKnight,
目前没有办法监听按钮的数组,因为Windows Store App是运行在一个沙盒内的,所有的事件都是由系统先行处理之后再传到Store App中,所以我们没有办法获取类似的一个列表。
不过你可以通过
GetKeyState method 来判断是否当前键被按下。
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.