picofuse-objc

Instance Methods | List of all members
<NXInputDevice > Protocol Reference

A device which sends input, such as keys, moves or touches, as NXInputEvents whose source it is, to a target, while it's attached to the application. More...

#import <NXDeviceManager.h>

Inheritance diagram for <NXInputDevice >:
Inheritance graph
[legend]
Collaboration diagram for <NXInputDevice >:
Collaboration graph
[legend]

Instance Methods

(BOOL) - setTarget:selector:
 Sets what its input's sent to, or nil for nowhere. More...
 
(void) - setPointerSize:
 Sets the size of the display a mouse's pointer moves over, which is kept within it.
 

Detailed Description

A device which sends input, such as keys, moves or touches, as NXInputEvents whose source it is, to a target, while it's attached to the application.

A display can be one too, for its own keyboard and mouse, touchscreen or buttons.

Definition at line 37 of file NXDeviceManager.h.

Method Documentation

◆ setTarget:selector:()

- (BOOL NXInputDevice) setTarget: (id)  target
selector: (SEL)  selector 

Sets what its input's sent to, or nil for nowhere.

Parameters
targetWhat the message is sent to, which is retained, or nil.
selectorA method of the target which has an NXInputEvent as its one argument, such as -input:.
Returns
YES, or NO if the selector isn't a method of the target which takes one object, or a device didn't answer.

The documentation for this protocol was generated from the following file: