简体   繁体   中英

Detect OS X Horizontal Scrolling and Zoom in Java

I'm using a JFrame in Java, and was wondering if it was possible to detect when a user in OS X used the trackpad in a horizontal scrolling or zoom gesture. I'm making something that looks similar to Audacity, and navigation could be much more fluid if the user could use those trackpad features rather than the arrow keys!

您很可能将无法直接访问普通的旧Java中与硬件/平台相关的内容...看一下Java触控板2指滚动侦听器上的两个答案

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM