- ext.mnawrot
- Posts: 5
- Joined:
ScrollViewer KeyUp / KeyDown event is not triggered by the xbox pad right thumbstick
I was testing gamepad events with the following listeners:
Most of the game pad button were captured except the right thumbstick and the left / right triggers. However the ScrollViewer is using them correctly to scroll the content.
According the UWP spec those events should be included (I know WPF ~= UWP) as following
https://docs.microsoft.com/en-us/uwp/ap ... 41#remarks
Code: Select all
this->KeyDown() += [](BaseComponent* /* sender */, const KeyEventArgs& /* args */)
{
std::cout << "key down" << std::endl;
};
this->KeyUp() += [](BaseComponent* /* sender */, const KeyEventArgs& /* args */)
{
std::cout << "key up" << std::endl;
};
According the UWP spec those events should be included (I know WPF ~= UWP) as following
https://docs.microsoft.com/en-us/uwp/ap ... 41#remarks
-
sfernandez
Site Admin
- Posts: 2991
- Joined:
Re: ScrollViewer KeyUp / KeyDown event is not triggered by the xbox pad right thumbstick
Hello, in Noesis we map right analog stick to the Scroll functions of the IView that are then converted to MouseWheel events. And lef/right triggers to the PageUp/Down keys. We will analyze this deviation from UWP because we should probably generate the corresponding keys too, could you please create a ticket to discuss about this?
- ext.mnawrot
- Posts: 5
- Joined:
-
sfernandez
Site Admin
- Posts: 2991
- Joined:
Re: ScrollViewer KeyUp / KeyDown event is not triggered by the xbox pad right thumbstick
Thanks for the report.
Who is online
Users browsing this forum: Bing [Bot], Semrush [Bot] and 58 guests