Game Control Plus  1.2.2
 All Classes Namespaces Functions Variables Pages
net.java.games.input.LinuxDeviceThread Class Reference
Inheritance diagram for net.java.games.input.LinuxDeviceThread:

Public Member Functions

synchronized final void run ()
 
final Object execute (LinuxDeviceTask task) throws IOException
 

Private Attributes

final List tasks = new ArrayList()
 

Detailed Description

Linux doesn't have proper support for force feedback from different threads since it relies on PIDs to determine ownership of a particular effect slot. Therefore we have to hack around this by making sure everything related to FF (including the final device close that performs and implicit deletion of all the process' effects) is run on a single thread.