• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Knowing whether a tablet is connected and switching modes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Knowing whether a tablet is connected and switching modes


  • Subject: Re: Knowing whether a tablet is connected and switching modes
  • From: Ricky Sharp <email@hidden>
  • Date: Wed, 25 Jan 2006 20:22:08 -0600


On Jan 25, 2006, at 6:51 PM, Gideon King wrote:

I have an application that I have been testing with Ink, and it works fine, except that you need to switch between the "Write Anywhere" mode and the cursor mode quite often, so when the user has a tablet connected, I want to show them an extra item (probably on the context menu) to change modes.

In the documentation I see lots of stuff about responding to events etc, but I can't see the things I am looking for:

1. How do I know that they have a tablet connected?
2. How do I tell Ink to switch from Write Anywhere on to off and back again?


I am targeting 10.3.9+

Your best shot at this would be to look at the Carbon APIs. I know there are APIs to at least set the Ink modes as I use these in my app:


InkSetApplicationRecognitionMode
InkSetApplicationWritingMode

For the handling of Ink events, I also use Carbon (Carbon Event APIs). There may be some event you can handle that would occur when tablets are connected/disconnected.

___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Knowing whether a tablet is connected and switching modes
      • From: Ricky Sharp <email@hidden>
References: 
 >Knowing whether a tablet is connected and switching modes (From: Gideon King <email@hidden>)

  • Prev by Date: Re: Retrive NSTabViewItem from its outlet
  • Next by Date: Re: ToolBar Icons not sorted
  • Previous by thread: Knowing whether a tablet is connected and switching modes
  • Next by thread: Re: Knowing whether a tablet is connected and switching modes
  • Index(es):
    • Date
    • Thread