Generating mouse events in Mac OS X
I have an USB device that will send out some proprietary data and I have an algorithm that converts it to mouse coordinates, the question I have is how do I write a driver that reports to Mac OS X?
I have seen some references to
IOHIDPostEvent but I cannot find detailed documentation on Apple's Developer Website. Is this the correct way? I am trying to write an user-space driver versus an in-kernel drive.
I'm trying to make a server monitor in Objective-C, that behaves kind of like the dock on Mac OS X. I'm hoping to have it slide from the side of the screen when the mouse is moved to a side of the scr
Where can I find Java SDK 6 or 7 (Oracle's, not openJDK) build instructions for Mac OS X (lion/leopard)? Something like JDK Build instructions v6u23, for the source code available at http://download.j
What is the equivalent of .deb and .rpm in Mac OS X? I am trying to create a package in Mac OS X which will include necessary libraries and scripts.
I got the below error when I tried to build Android 4.0 on Mac OS X Lion. Please install the 10.5 SDK on this machine at /Developer/SDKs/MacOSX10.5.sdk external/qemu/Makefile.android:82: *** Aborting
Is there any way to install PHP:s PECL handler on Mac OS X 10.6, to be used with the bundled PHP?
For a scripting utility I need to be able to record a series of keyboard and mouse events that occur when an application has focus. The second part is being able to later send those events to the acti
on the iPhone we have the Apple's amazing MapKit. There is something similar for Mac OS X? If possible something more advanced than a simple WebView, because I need that it manage automatically at lea
It seems from my initial reading there are two options for assembly on Mac OS X. - C libraries - BSD System Calls. - Something with Objective C Is there an equivalent of the Win32 API on Mac OS X? Ap
Is it possible to simulate the actions of a mouse from a program in OS X? Specifically, the short version is that I'm trying to simulate a touchscreen using two webcams. So assuming I can get X,Y posi
I am trying to install SBT2 and have following setting OS Mac OS X 10.7 tbc:~ mystic$ which python /Library/Frameworks/Python.framework/Versions/2.7/bin/python tbc:~ mystic$ python -V Python 2.7.2 I
Possible Duplicate: Git not found after installing OS X Lion I just upgraded my mac to LION, and now git is gone: $ git -bash: git: command not found Any ideas on how to get git back?
According to PEP 370, Python on Mac OS X will look for ~/.local/lib/python2.7/site-packages/ Unfortunately my Python (installed from python.org) only looks in ~/Library/... What's up with Python? Is t
When I installed the blist on my mac (OS X Mavericks 10.9.2) I confronted error creating build/temp.macosx-10.9-intel-2.7 cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -
I installed by mistake ImageMagick for Mac OS X mountain lion on my Lion OS. How do I uninstall clean?
I'm trying to learn how to program parallel algorithms in C using POSIX threads. My environment is a Mac OS X 10.5.5 with gcc 4. Compiling: gcc -Wall -D_REENTRANT -lpthread source.c -o test.o So, my
What do I need to install mysql gem on Mac OS X ? I'm getting error failed to build native extensions.
I'd like to programmatically get the CPU descriptions on Mac OS X, which look something like this: Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz Intel(R) Xeon(R) CPU X5550 @ 2.67GHz On Linux you can do grep
I tried to install lazarus on a mac os x 10.4 macbook but it did not work, can any one give me a hint on how to do it. Thanks
Recently (I suspect the latest Java update installed a few days ago, but I'm not sure), I am experiencing some strange problems with VisualVM run under Mac OS 10.8.4. The profiler has been working fin
I've spent several hours trying to install MySQLdb (the Python library) on Mac OS X Snow Leopard. I'm using these instructions from SO. I keep getting an error, so I've tried using MacPorts (as one of
I'm using AFNetworking 2.0 Mac OS X 10.8.0 Xcode 5 But I'm receiving the following error: Undefined symbols for architecture x86_64: _NSURLSessionTransferSizeUnknown, referenced from: -[AFURLSess
I manage to make Mac OS X Application Menu work on Java using com.apple.eawt API and added handlers for About App, Preferences... and Quit App menu item. But is it possible to add some custom me
How do I find out where MySQL is installed on Mac OS X 10.7.9? I have MAMP installed so I presume that it is bundled with this install?
I have my developer Mac OS X machine at my work. And I have Windows machine at home. How could I work remotely on my Mac OS X machine through Windows machine which stay at home? I mean could someone a
I'm searching for the best way of creating a fullscreen overlay under Mac OS X. I want to create a transparent or semi-transparent overlay, which cares about mouse events and shows other input/outpu
I know how to program a click on Win32 (click on the screen programmatically) using C or Ruby. Does anyone know how to do it on Mac OS X and Linux just as a comparison? thanks.
I want to use boost on my Mac. Mac OS X 10.7.4 Xcode 4.5 I installed boost by homebrew. brew install boost Boost version is 1.49.0. And I set up my Xcode project. Add Header search path. /usr/local/C
I have iPad game application. Now I want it for the Mac OS x. This application is using Cocos2D and Gamekit framework. How can I create Mac OS X application. Gamekit framework is only available in ios
I am trying to open a text file with C++ in Mac OS X but I always get a Bus error. I do not care where to put the file. I just need to read it. Am I writing its address wrong? or that Bus Error has an
First of all, here's the userland question: Disabling mouse acceleration in Mac OS X @ superuser To summarize: I want to have linear mouse response on Mac OS X. That is, no acceleration; an adjustabl
I want to upgrade my leopard osx to snow leopard, and i want to know if it will erase my data or will only upgrade the OS and leave all my data and app intact?
I am trying to uninstall Sphinx 2.0.1 from Mac OS 10.6 to revert back to a previous version. I installed Sphinx doing a make install a few weeks back and in my efforts to get it working, I downloaded
I had a working application bundle on Mac OS X Tiger. I was easily able to just replace the jar file and everything worked as i made changes. I take that app bundle now, and when it is on Leopard, I g
Games need low-level access to keyboard input. On Windows, there's DirectInput. But what technology do Mac OS X game developers use? Obviously, there's enough Mac games which get keyboard input just
I'm trying to generate a RSA Key in my Mac OS X App, I use this code: CFStringRef privateTag = (CFStringRef)@com.example.privatekey; CFStringRef publicTag = (CFStringRef)@com.example.publickey; in
Has anyone built Mono 2.10.4 or later for Mac OS X PowerPC? The latest binary release with PPC support I can find from Ximian is 2.10.3, but recent versions of MonoDevelop (2.8 - 3.0, which don't appe
I am starting a new SW project between client and server and would like to utilize some SW tools for constructing the message flow. Is there any one has MSCGen that is built for Mac OS X ?
I am giving it a go at compiling lsyncd on Mac OS X (Lion) and I got a little stuck at my configure script not being able to locate my lua libraries:- calvin$ ./configure checking for a BSD-compatible
Is there a programmatic, non-private-API way to detect whether the mouse cursor is hidden on Mac OS X? (As occurs, for example, when typing into a text field.) NSCursor has hide and unhide but no isHi
I recently started programming C on Mac OS X (10.7.4). I have the various headers for the stdlib in /usr/include, but was hoping to get the source code. This is mainly needed for my own learning, but
Mac OS X has an application called defaults which allows one to set and retrieve application configuration variables. Is there a Perl module which allows me to read/write these configuration variables
i've been trying to enable Xdebug for Mac OS X Lion, but can't make it work. This should be pretty straight forward but it just isn't working for me. These are the steps i took: 1 - Uncommented this l
I am new to Mac OS X programming and so I am going through an introductory text that includes building interfaces using Interface Builder (3.2.3) for both Cocoa and Carbon. Unfortunately I am having p
In Apple iOS you can do: UIApplication* myApplication = [UIApplication sharedApplication]; myApplication.networkActivityIndicatorVisible = YES; How do you do this in Mac OS X?
This question already has an answer here: Java/Eclipse on MacOSX: where is the src.zip? 12 answers Java for Mac OS X 10.6 Update 3 upgraded to java 1.6.0_22. However, they did not include the s
I am currently looking into different ways to support distributed model objects (that is, a computational model that runs on several different computers) in a project that initially focuses on Mac OS
I'm working on a Mac OS X app that was developed for Mountain Lion. The app performs some setup tasks the first time it runs. It then sets a flag in [NSUserDefaults standardUserDefaults]; on subsequen
Can anyone tell me, or send me to a page, that can tell me what version of Java that a Mac OS X supports out of the box? I know for instance 10.5 comes with Java 1.5 installed by default. what about 1
I am trying to port a project (from linux) that uses Semaphores to Mac OS X however some of the posix semaphores are not implemented on Mac OS X The one that I hit in this port is sem_timedwait() I do
Been using Lua 5.0 in a Mac OS X universal binary app for some years. Lua scripts are compiled using luac and the compiled scripts are bundled with the app. They have worked properly in Tiger and Leop