Open GoogleCodeExporter opened 8 years ago
Translation to English of text above: Is it possible to allow mouse wheel to
rotate
rotaries like in MSFS?
Probably will be implemented in next version.
Original comment by a.a.babichev
on 17 Jun 2009 at 4:41
По идее в SDL mousewheel это эвент onClick с индексом
кнопки 4 и 5, так что уже сейчас можно
попробовать сделать rotary который правильно
на это реагирует
Original comment by m...@julik.nl
on 19 Jun 2009 at 4:15
Да, в x-plane немного сложнее но то же возможно.
Original comment by a.a.babichev
on 19 Jun 2009 at 5:23
когда сделаете, мне скажите, я у себя так же
сделаю
Original comment by nbdar...@gmail.com
on 19 Jun 2009 at 6:45
Bump: http://www.xsquawkbox.net/xpsdk/mediawiki/XPLMHandleMouseWheel_f
XPLMHandleMouseWheel_f
typedef int (* XPLMHandleMouseWheel_f)(
XPLMWindowID inWindowID,
int x,
int y,
int wheel,
int clicks,
void * inRefcon);
The SDK calls your mouse wheel callback when one of the mouse wheels is turned
within your window. Return 1 to consume the mouse wheel clicks or 0 to pass
them on to a lower window. (You should consume mouse wheel clicks even if they
do nothing if your window appears opaque to the user.) The number of clicks
indicates how far the wheel was turned since the last callback. The wheel is 0
for the vertical axis or 1 for the horizontal axis (for OS/mouse combinations
that support this).
Original comment by vonh...@gmail.com
on 13 Sep 2011 at 9:08
Original issue reported on code.google.com by
nbdar...@gmail.com
on 16 Jun 2009 at 6:53