Questions tagged [trackpad]

122 questions
4
votes
2 answers

How can I prevent full page zoom on mousewheel event in Javascript?

I want to be able to use the trackpad and the wheel event to update the scale of a DOM element. It works like expected however on several browsers it also perform a full page zoom. I want to keep my scale update but I want to prevent the full page…
ChucKN0risK
  • 395
  • 2
  • 7
  • 18
4
votes
0 answers

Emulate Mac trackpad with MS Precision trackpad

I'm currently working on a hackintosh machine with a precision trackpad, which is currently being handled by VoodooPS2 which is the staple for hackintosh keyboard/trackpad support. The precision trackpad is Microsoft's attempt to rival the Mac…
Lukas Palmer
  • 478
  • 1
  • 4
  • 13
4
votes
0 answers

Track Touch Events without app being focused - Swift

I made a simple project in Xcode to track the position of a touch event on a trackpad. I created a Custom View instance on my MainWindowController.xib for the class TrackpadController: class TrackpadController: NSView { override init(frame…
RobMoj
  • 71
  • 4
4
votes
0 answers

Two fingers on trackpad with Qt app

I'm currently trying to make our Qt application react as it should when using the "two fingers" feature of the trackpad on Mac. As of now, when working in a QGraphicsScene, if the user use "two fingers" the view is zoomed which is not what I want. I…
3
votes
0 answers

How do I capture Mac trackpad events and gestures so that they don't have their usual effects?

I'm writing a an app that that does midi synthesis from the trackpad (Multitouch Midi) and one of the annoying things is that while it's running the actions you're taking are being interpreted both to create sound but also to do whatever else they…
Jeff Kaufman
  • 575
  • 3
  • 13
3
votes
1 answer

track-pad tap event in javascript/jquery

Is there any way to handle tap from track pad of mac? I need to handle 'tap' and 'click' on track-pad, especially on mac. I tried $.event.special.tap = { setup: function(data, namespaces) { var $elem = $(this); …
Okky
  • 10,338
  • 15
  • 75
  • 122
3
votes
4 answers

jQuery Mousewheel doesn't support trackpad?

I'm using the popular mousewheel plugin to to emulate the fullpage scroll like this website. jQuery(function() { var top = 0, viewport = jQuery(window).height(), step = jQuery(".home .l-section:first").outerHeight(), …
eozzy
  • 66,048
  • 104
  • 272
  • 428
3
votes
2 answers

NSEvent and Magic Mouse

How do I distinguish whether the event -(void)scrollWheel:(NSEvent *)event was triggered by a Magic Mouse or a trackpad? The reason I'm asking this question is because I want to assign a different action to the scrolling event when a trackpad is…
hanno
  • 6,401
  • 8
  • 48
  • 80
3
votes
1 answer

Distinguishing actual scrollwheel vs trackpad vs tablet scrolling events

It seems scrollWheel: has to be it, for receiving these. Unfortunately the trackpad's scrolling deltas are orders of magnitude higher than a mouse's, so the scroll speed is psychotically high. Ergo I need to distinguish them so that I can apply an…
Wade Tregaskis
  • 1,996
  • 11
  • 15
3
votes
1 answer

Touchpad's absolute touch coordinates

Is it possible to read input directly from a Alps touchpad? I am trying to turn my touchpad into a cheap drawing tablet so I need to read the raw unprocessed x and y coordinates of where it was touched relative to the physical touchpad. So if I…
Franklin Ta
2
votes
2 answers

MacBook Trackpad Gestures: Move Windows like in Minority Report

With the MacBook Trackpad I can scroll documents by using two fingers or zoom into the screen with two fingers and Ctrl pressed. What could be very useful is to move the currently active window with a similar gesture (3 fingers, or 2 fingers +…
seb
  • 3,274
  • 4
  • 22
  • 16
2
votes
2 answers

Settings > Language & input > Pointer speed - why do we need this menu?

I am using ICS android phone. I can see pointer speed menu, at Settings > Language & input > MOUSE/TRACKPAD. Is this menu necessary? why do we need this menu?
2
votes
1 answer

How do I get the arrows on jQuery jScrollpane to show? (& mousewheel behaviors)?

I am using jScrollpane to allow the overflow on divs. The scrollbars are showing up and working correctly, (they move and allow content to scroll) but the arrows are not showing up. Also, the mouse wheel / trackpad scroll is not working (on…
Adam
  • 21
  • 2
2
votes
1 answer

Turn off trackpad haptic feedback in Xcode Interface Builder?

I came back to working with Xcode recently and I noticed that Interface Builder "rattles" my 2020 (Intel) Air's trackpad a lot by giving haptic feedback when elements snap to layout lines. Is there any way to turn this off in Xcode?
Crazor
  • 328
  • 1
  • 12
2
votes
1 answer

Blackberry 6: how to detect a long click on track pad?

how do you detect a long click on a track pad please? I.e. on this thingy: I can detect a short click with: public boolean navigationClick(int status, int time) { // XXX return super.navigationClick(status, time); } And also I can detect…
Alexander Farber
  • 21,519
  • 75
  • 241
  • 416
1 2
3
8 9