class com.sun.glass.ui.monocle.LinuxInputDevice implements java.lang.Runnable, com.sun.glass.ui.monocle.InputDevice
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.glass.ui.monocle.LinuxInputDevice
super_class: java.lang.Object
{
private com.sun.glass.ui.monocle.LinuxInputProcessor inputProcessor;
descriptor: Lcom/sun/glass/ui/monocle/LinuxInputProcessor;
flags: (0x0002) ACC_PRIVATE
private java.nio.channels.ReadableByteChannel in;
descriptor: Ljava/nio/channels/ReadableByteChannel;
flags: (0x0002) ACC_PRIVATE
private long fd;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private java.io.File devNode;
descriptor: Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
private java.io.File sysPath;
descriptor: Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
private java.util.Map<java.lang.String, java.util.BitSet> capabilities;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/BitSet;>;
private java.util.Map<java.lang.Integer, com.sun.glass.ui.monocle.LinuxAbsoluteInputCapabilities> absCaps;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/Integer;Lcom/sun/glass/ui/monocle/LinuxAbsoluteInputCapabilities;>;
private java.util.Map<java.lang.String, java.lang.String> udevManifest;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
private final java.nio.ByteBuffer event;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.sun.glass.ui.monocle.RunnableProcessor runnableProcessor;
descriptor: Lcom/sun/glass/ui/monocle/RunnableProcessor;
flags: (0x0002) ACC_PRIVATE
private com.sun.glass.ui.monocle.LinuxInputDevice$EventProcessor processor;
descriptor: Lcom/sun/glass/ui/monocle/LinuxInputDevice$EventProcessor;
flags: (0x0002) ACC_PRIVATE
private final com.sun.glass.ui.monocle.LinuxEventBuffer buffer;
descriptor: Lcom/sun/glass/ui/monocle/LinuxEventBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.Map<java.lang.String, java.lang.String> uevent;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
private static com.sun.glass.ui.monocle.LinuxSystem system;
descriptor: Lcom/sun/glass/ui/monocle/LinuxSystem;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic com.sun.glass.ui.monocle.LinuxSystem.getLinuxSystem:()Lcom/sun/glass/ui/monocle/LinuxSystem;
putstatic com.sun.glass.ui.monocle.LinuxInputDevice.system:Lcom/sun/glass/ui/monocle/LinuxSystem;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.io.File, java.io.File, java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/io/File;Ljava/io/File;Ljava/util/Map;)V
flags: (0x0000)
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc -1
putfield com.sun.glass.ui.monocle.LinuxInputDevice.fd:J
2: aload 0
new com.sun.glass.ui.monocle.LinuxInputDevice$EventProcessor
dup
aload 0
invokespecial com.sun.glass.ui.monocle.LinuxInputDevice$EventProcessor.<init>:(Lcom/sun/glass/ui/monocle/LinuxInputDevice;)V
putfield com.sun.glass.ui.monocle.LinuxInputDevice.processor:Lcom/sun/glass/ui/monocle/LinuxInputDevice$EventProcessor;
3: aload 0
new com.sun.glass.ui.monocle.LinuxEventBuffer
dup
invokestatic com.sun.glass.ui.monocle.LinuxArch.getBits:()I
invokespecial com.sun.glass.ui.monocle.LinuxEventBuffer.<init>:(I)V
putfield com.sun.glass.ui.monocle.LinuxInputDevice.buffer:Lcom/sun/glass/ui/monocle/LinuxEventBuffer;
4: aload 0
aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.buffer:Lcom/sun/glass/ui/monocle/LinuxEventBuffer;
invokevirtual com.sun.glass.ui.monocle.LinuxEventBuffer.getEventSize:()I
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
putfield com.sun.glass.ui.monocle.LinuxInputDevice.event:Ljava/nio/ByteBuffer;
5: aload 0
aload 1
putfield com.sun.glass.ui.monocle.LinuxInputDevice.devNode:Ljava/io/File;
6: aload 0
aload 2
putfield com.sun.glass.ui.monocle.LinuxInputDevice.sysPath:Ljava/io/File;
7: aload 0
aload 3
putfield com.sun.glass.ui.monocle.LinuxInputDevice.udevManifest:Ljava/util/Map;
8: aload 0
aload 2
invokestatic com.sun.glass.ui.monocle.SysFS.readCapabilities:(Ljava/io/File;)Ljava/util/Map;
putfield com.sun.glass.ui.monocle.LinuxInputDevice.capabilities:Ljava/util/Map;
9: aload 0
10: aload 1
aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.capabilities:Ljava/util/Map;
ldc "abs"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.BitSet
11: invokestatic com.sun.glass.ui.monocle.LinuxAbsoluteInputCapabilities.getCapabilities:(Ljava/io/File;Ljava/util/BitSet;)Ljava/util/Map;
putfield com.sun.glass.ui.monocle.LinuxInputDevice.absCaps:Ljava/util/Map;
12: aload 0
getstatic com.sun.glass.ui.monocle.LinuxInputDevice.system:Lcom/sun/glass/ui/monocle/LinuxSystem;
aload 1
invokevirtual java.io.File.getPath:()Ljava/lang/String;
iconst_0
invokevirtual com.sun.glass.ui.monocle.LinuxSystem.open:(Ljava/lang/String;I)J
putfield com.sun.glass.ui.monocle.LinuxInputDevice.fd:J
13: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.fd:J
ldc -1
lcmp
ifne 15
14: new java.io.IOException
dup
new java.lang.StringBuilder
dup
getstatic com.sun.glass.ui.monocle.LinuxInputDevice.system:Lcom/sun/glass/ui/monocle/LinuxSystem;
invokevirtual com.sun.glass.ui.monocle.LinuxSystem.getErrorMessage:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " on "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals: com.sun.glass.ui.monocle.LinuxInputDevice java.io.File java.io.File java.util.Map
StackMap stack:
getstatic com.sun.glass.ui.monocle.LinuxInputDevice.system:Lcom/sun/glass/ui/monocle/LinuxSystem;
bipush 69
sipush 144
iconst_4
invokevirtual com.sun.glass.ui.monocle.LinuxSystem.IOW:(III)I
istore 4
start local 4 16: getstatic com.sun.glass.ui.monocle.LinuxInputDevice.system:Lcom/sun/glass/ui/monocle/LinuxSystem;
aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.fd:J
iload 4
lconst_1
invokevirtual com.sun.glass.ui.monocle.LinuxSystem.ioctl:(JIJ)I
pop
17: aload 0
invokestatic com.sun.glass.ui.monocle.NativePlatformFactory.getNativePlatform:()Lcom/sun/glass/ui/monocle/NativePlatform;
18: invokevirtual com.sun.glass.ui.monocle.NativePlatform.getRunnableProcessor:()Lcom/sun/glass/ui/monocle/RunnableProcessor;
19: putfield com.sun.glass.ui.monocle.LinuxInputDevice.runnableProcessor:Lcom/sun/glass/ui/monocle/RunnableProcessor;
20: aload 0
aload 2
invokestatic com.sun.glass.ui.monocle.SysFS.readUEvent:(Ljava/io/File;)Ljava/util/Map;
putfield com.sun.glass.ui.monocle.LinuxInputDevice.uevent:Ljava/util/Map;
21: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/glass/ui/monocle/LinuxInputDevice;
0 22 1 devNode Ljava/io/File;
0 22 2 sysPath Ljava/io/File;
0 22 3 udevManifest Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
16 22 4 EVIOCGRAB I
Exceptions:
throws java.io.IOException
Signature: (Ljava/io/File;Ljava/io/File;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
devNode
sysPath
udevManifest
void <init>(java.util.Map<java.lang.String, java.util.BitSet>, java.util.Map<java.lang.Integer, com.sun.glass.ui.monocle.LinuxAbsoluteInputCapabilities>, java.nio.channels.ReadableByteChannel, java.util.Map<java.lang.String, java.lang.String>, java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;Ljava/util/Map;Ljava/nio/channels/ReadableByteChannel;Ljava/util/Map;Ljava/util/Map;)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc -1
putfield com.sun.glass.ui.monocle.LinuxInputDevice.fd:J
2: aload 0
new com.sun.glass.ui.monocle.LinuxInputDevice$EventProcessor
dup
aload 0
invokespecial com.sun.glass.ui.monocle.LinuxInputDevice$EventProcessor.<init>:(Lcom/sun/glass/ui/monocle/LinuxInputDevice;)V
putfield com.sun.glass.ui.monocle.LinuxInputDevice.processor:Lcom/sun/glass/ui/monocle/LinuxInputDevice$EventProcessor;
3: aload 0
new com.sun.glass.ui.monocle.LinuxEventBuffer
dup
bipush 32
invokespecial com.sun.glass.ui.monocle.LinuxEventBuffer.<init>:(I)V
putfield com.sun.glass.ui.monocle.LinuxInputDevice.buffer:Lcom/sun/glass/ui/monocle/LinuxEventBuffer;
4: aload 0
aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.buffer:Lcom/sun/glass/ui/monocle/LinuxEventBuffer;
invokevirtual com.sun.glass.ui.monocle.LinuxEventBuffer.getEventSize:()I
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
putfield com.sun.glass.ui.monocle.LinuxInputDevice.event:Ljava/nio/ByteBuffer;
5: aload 0
aload 1
putfield com.sun.glass.ui.monocle.LinuxInputDevice.capabilities:Ljava/util/Map;
6: aload 0
aload 2
putfield com.sun.glass.ui.monocle.LinuxInputDevice.absCaps:Ljava/util/Map;
7: aload 0
aload 3
putfield com.sun.glass.ui.monocle.LinuxInputDevice.in:Ljava/nio/channels/ReadableByteChannel;
8: aload 0
aload 4
putfield com.sun.glass.ui.monocle.LinuxInputDevice.udevManifest:Ljava/util/Map;
9: aload 0
aload 5
putfield com.sun.glass.ui.monocle.LinuxInputDevice.uevent:Ljava/util/Map;
10: aload 0
invokestatic com.sun.glass.ui.monocle.NativePlatformFactory.getNativePlatform:()Lcom/sun/glass/ui/monocle/NativePlatform;
11: invokevirtual com.sun.glass.ui.monocle.NativePlatform.getRunnableProcessor:()Lcom/sun/glass/ui/monocle/RunnableProcessor;
12: putfield com.sun.glass.ui.monocle.LinuxInputDevice.runnableProcessor:Lcom/sun/glass/ui/monocle/RunnableProcessor;
13: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/glass/ui/monocle/LinuxInputDevice;
0 14 1 capabilities Ljava/util/Map<Ljava/lang/String;Ljava/util/BitSet;>;
0 14 2 absCaps Ljava/util/Map<Ljava/lang/Integer;Lcom/sun/glass/ui/monocle/LinuxAbsoluteInputCapabilities;>;
0 14 3 in Ljava/nio/channels/ReadableByteChannel;
0 14 4 udevManifest Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
0 14 5 uevent Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/util/BitSet;>;Ljava/util/Map<Ljava/lang/Integer;Lcom/sun/glass/ui/monocle/LinuxAbsoluteInputCapabilities;>;Ljava/nio/channels/ReadableByteChannel;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
capabilities
absCaps
in
udevManifest
uevent
void setInputProcessor(com.sun.glass.ui.monocle.LinuxInputProcessor);
descriptor: (Lcom/sun/glass/ui/monocle/LinuxInputProcessor;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.glass.ui.monocle.LinuxInputDevice.inputProcessor:Lcom/sun/glass/ui/monocle/LinuxInputProcessor;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/monocle/LinuxInputDevice;
0 2 1 inputProcessor Lcom/sun/glass/ui/monocle/LinuxInputProcessor;
MethodParameters:
Name Flags
inputProcessor
private void readToEventBuffer();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.in:Ljava/nio/channels/ReadableByteChannel;
ifnull 3
1: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.in:Ljava/nio/channels/ReadableByteChannel;
aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.event:Ljava/nio/ByteBuffer;
invokeinterface java.nio.channels.ReadableByteChannel.read:(Ljava/nio/ByteBuffer;)I
pop
2: goto 9
StackMap locals:
StackMap stack:
3: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.fd:J
ldc -1
lcmp
ifeq 9
4: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.event:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
istore 1
start local 1 5: getstatic com.sun.glass.ui.monocle.LinuxInputDevice.system:Lcom/sun/glass/ui/monocle/LinuxSystem;
aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.fd:J
aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.event:Ljava/nio/ByteBuffer;
iload 1
aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.event:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
invokevirtual com.sun.glass.ui.monocle.LinuxSystem.read:(JLjava/nio/ByteBuffer;II)J
l2i
istore 2
start local 2 6: iload 2
iconst_m1
if_icmpne 8
7: new java.io.IOException
dup
new java.lang.StringBuilder
dup
getstatic com.sun.glass.ui.monocle.LinuxInputDevice.system:Lcom/sun/glass/ui/monocle/LinuxSystem;
invokevirtual com.sun.glass.ui.monocle.LinuxSystem.getErrorMessage:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " on "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.devNode:Ljava/io/File;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.event:Ljava/nio/ByteBuffer;
iload 1
iload 2
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
end local 2 end local 1 9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/glass/ui/monocle/LinuxInputDevice;
5 9 1 position I
6 9 2 bytesRead I
Exceptions:
throws java.io.IOException
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.inputProcessor:Lcom/sun/glass/ui/monocle/LinuxInputProcessor;
ifnonnull 3
1: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Error: no input processor set on "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.devNode:Ljava/io/File;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.glass.ui.monocle.LinuxInputDevice.readToEventBuffer:()V
4: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.event:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.event:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
if_icmpne 3
5: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.event:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
6: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.buffer:Lcom/sun/glass/ui/monocle/LinuxEventBuffer;
dup
astore 1
monitorenter
7: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.buffer:Lcom/sun/glass/ui/monocle/LinuxEventBuffer;
aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.event:Ljava/nio/ByteBuffer;
invokevirtual com.sun.glass.ui.monocle.LinuxEventBuffer.put:(Ljava/nio/ByteBuffer;)Z
ifeq 10
aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.processor:Lcom/sun/glass/ui/monocle/LinuxInputDevice$EventProcessor;
getfield com.sun.glass.ui.monocle.LinuxInputDevice$EventProcessor.scheduled:Z
ifne 10
8: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.runnableProcessor:Lcom/sun/glass/ui/monocle/RunnableProcessor;
aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.processor:Lcom/sun/glass/ui/monocle/LinuxInputDevice$EventProcessor;
invokevirtual com.sun.glass.ui.monocle.RunnableProcessor.invokeLater:(Ljava/lang/Runnable;)V
9: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.processor:Lcom/sun/glass/ui/monocle/LinuxInputDevice$EventProcessor;
iconst_1
putfield com.sun.glass.ui.monocle.LinuxInputDevice$EventProcessor.scheduled:Z
10: StackMap locals: com.sun.glass.ui.monocle.LinuxEventBuffer
StackMap stack:
aload 1
monitorexit
11: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
12: aload 1
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.event:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.rewind:()Ljava/nio/Buffer;
pop
15: goto 3
StackMap locals:
StackMap stack: java.lang.Exception
16: pop
17: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/glass/ui/monocle/LinuxInputDevice;
Exception table:
from to target type
7 11 12 any
12 13 12 any
3 15 16 Class java.io.IOException
3 15 16 Class java.lang.InterruptedException
com.sun.glass.ui.monocle.LinuxEventBuffer getBuffer();
descriptor: ()Lcom/sun/glass/ui/monocle/LinuxEventBuffer;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.buffer:Lcom/sun/glass/ui/monocle/LinuxEventBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/LinuxInputDevice;
boolean isQuiet();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.buffer:Lcom/sun/glass/ui/monocle/LinuxEventBuffer;
dup
astore 1
monitorenter
1: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.processor:Lcom/sun/glass/ui/monocle/LinuxInputDevice$EventProcessor;
getfield com.sun.glass.ui.monocle.LinuxInputDevice$EventProcessor.scheduled:Z
ifne 2
aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.buffer:Lcom/sun/glass/ui/monocle/LinuxEventBuffer;
invokevirtual com.sun.glass.ui.monocle.LinuxEventBuffer.hasData:()Z
ifne 2
iconst_1
goto 3
StackMap locals: com.sun.glass.ui.monocle.LinuxEventBuffer
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: aload 1
monitorexit
4: ireturn
5: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
6: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/glass/ui/monocle/LinuxInputDevice;
Exception table:
from to target type
1 4 5 any
5 6 5 any
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.devNode:Ljava/io/File;
ifnonnull 1
ldc "Robot"
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.devNode:Ljava/io/File;
invokevirtual java.io.File.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/monocle/LinuxInputDevice;
java.util.BitSet getCapability(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/BitSet;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.capabilities:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.BitSet
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/LinuxInputDevice;
0 1 1 type Ljava/lang/String;
MethodParameters:
Name Flags
type
com.sun.glass.ui.monocle.LinuxAbsoluteInputCapabilities getAbsoluteInputCapabilities(int);
descriptor: (I)Lcom/sun/glass/ui/monocle/LinuxAbsoluteInputCapabilities;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.absCaps:Ljava/util/Map;
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.absCaps:Ljava/util/Map;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.glass.ui.monocle.LinuxAbsoluteInputCapabilities
StackMap locals:
StackMap stack: com.sun.glass.ui.monocle.LinuxAbsoluteInputCapabilities
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/monocle/LinuxInputDevice;
0 3 1 axis I
MethodParameters:
Name Flags
axis
java.lang.String getProduct();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.uevent:Ljava/util/Map;
ldc "PRODUCT"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/LinuxInputDevice;
public boolean isTouch();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: ldc "1"
aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.udevManifest:Ljava/util/Map;
ldc "ID_INPUT_TOUCHSCREEN"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
1: ldc "1"
aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.udevManifest:Ljava/util/Map;
ldc "ID_INPUT_TABLET"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
2: aload 0
invokevirtual com.sun.glass.ui.monocle.LinuxInputDevice.isTouchDeclaredAsMouse:()Z
ifne 4
3: iconst_0
ireturn
StackMap locals:
StackMap stack:
4: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/glass/ui/monocle/LinuxInputDevice;
private boolean isTouchDeclaredAsMouse();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: ldc "1"
aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.udevManifest:Ljava/util/Map;
ldc "ID_INPUT_MOUSE"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
1: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.capabilities:Ljava/util/Map;
ldc "rel"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.BitSet
astore 1
start local 1 2: aload 1
ifnull 3
aload 1
iconst_0
invokevirtual java.util.BitSet.get:(I)Z
ifne 8
aload 1
iconst_1
invokevirtual java.util.BitSet.get:(I)Z
ifne 8
3: StackMap locals: java.util.BitSet
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.capabilities:Ljava/util/Map;
ldc "abs"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.BitSet
astore 2
start local 2 4: aload 2
ifnull 8
5: aload 2
iconst_0
invokevirtual java.util.BitSet.get:(I)Z
ifne 6
aload 2
bipush 53
invokevirtual java.util.BitSet.get:(I)Z
ifeq 8
6: StackMap locals: java.util.BitSet
StackMap stack:
aload 2
iconst_1
invokevirtual java.util.BitSet.get:(I)Z
ifne 7
aload 2
bipush 54
invokevirtual java.util.BitSet.get:(I)Z
ifeq 8
7: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/glass/ui/monocle/LinuxInputDevice;
2 8 1 rel Ljava/util/BitSet;
4 8 2 abs Ljava/util/BitSet;
public boolean isMultiTouch();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.glass.ui.monocle.LinuxInputDevice.isTouch:()Z
ifeq 9
1: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.capabilities:Ljava/util/Map;
ldc "abs"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.BitSet
astore 1
start local 1 2: aload 1
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals: java.util.BitSet
StackMap stack:
aload 1
bipush 47
invokevirtual java.util.BitSet.get:(I)Z
ifne 8
5: aload 1
bipush 53
invokevirtual java.util.BitSet.get:(I)Z
ifeq 7
6: aload 1
bipush 54
invokevirtual java.util.BitSet.get:(I)Z
ifne 8
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
StackMap locals:
StackMap stack:
8: iconst_1
ireturn
end local 1 9: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/glass/ui/monocle/LinuxInputDevice;
2 9 1 abs Ljava/util/BitSet;
public boolean isRelative();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: ldc "1"
aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.udevManifest:Ljava/util/Map;
ldc "ID_INPUT_MOUSE"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/LinuxInputDevice;
public boolean is5Way();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.capabilities:Ljava/util/Map;
ldc "key"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.BitSet
astore 1
start local 1 1: aload 1
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: java.util.BitSet
StackMap stack:
iconst_0
istore 2
start local 2 4: goto 8
5: StackMap locals: int
StackMap stack:
aload 1
getstatic com.sun.glass.ui.monocle.LinuxKeyBits.KEYBITS_ARROWS:[S
iload 2
saload
invokevirtual java.util.BitSet.get:(I)Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
getstatic com.sun.glass.ui.monocle.LinuxKeyBits.KEYBITS_ARROWS:[S
arraylength
if_icmplt 5
end local 2 9: iconst_0
istore 2
start local 2 10: goto 14
11: StackMap locals:
StackMap stack:
aload 1
getstatic com.sun.glass.ui.monocle.LinuxKeyBits.KEYBITS_SELECT:[S
iload 2
saload
invokevirtual java.util.BitSet.get:(I)Z
ifeq 13
12: iconst_1
ireturn
13: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
14: iload 2
getstatic com.sun.glass.ui.monocle.LinuxKeyBits.KEYBITS_SELECT:[S
arraylength
if_icmplt 11
end local 2 15: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/glass/ui/monocle/LinuxInputDevice;
1 16 1 key Ljava/util/BitSet;
4 9 2 i I
10 15 2 i I
public boolean isFullKeyboard();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.LinuxInputDevice.capabilities:Ljava/util/Map;
ldc "key"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.BitSet
astore 1
start local 1 1: aload 1
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: java.util.BitSet
StackMap stack:
iconst_0
istore 2
start local 2 4: goto 8
5: StackMap locals: int
StackMap stack:
aload 1
getstatic com.sun.glass.ui.monocle.LinuxKeyBits.KEYBITS_PC:[S
iload 2
saload
invokevirtual java.util.BitSet.get:(I)Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
getstatic com.sun.glass.ui.monocle.LinuxKeyBits.KEYBITS_PC:[S
arraylength
if_icmplt 5
end local 2 9: aload 0
invokevirtual com.sun.glass.ui.monocle.LinuxInputDevice.is5Way:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/glass/ui/monocle/LinuxInputDevice;
1 10 1 key Ljava/util/BitSet;
4 9 2 i I
}
SourceFile: "LinuxInputDevice.java"
NestMembers:
com.sun.glass.ui.monocle.LinuxInputDevice$EventProcessor
InnerClasses:
EventProcessor = com.sun.glass.ui.monocle.LinuxInputDevice$EventProcessor of com.sun.glass.ui.monocle.LinuxInputDevice