AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkRawJoystick.CompleteDetection Method

Waits for the detection of physical joysticks to complete. On some systems this may take a few seconds so is run in a separate thread along side the main application.

Syntax
Pascal
class procedure CompleteDetection; static;

If you do not use any of the real joystick methods you may ignore this method and let the joystick detection complete whenever it likes. However if you do wish to use joystick methods in your app you must call this command to make sure that the total number of joysticks connected have been found. After this initial detection process plugging in additional joysticks will not be detected. 

TAgkRawJoystick

Copyright (c) 2012. All rights reserved.