Method: Cursor.get_screenposition

Defined in:
lib/vr/sysmod.rb

.get_screenpositionObject



191
192
193
194
195
# File 'lib/vr/sysmod.rb', line 191

def self.get_screenposition
  r=[0,0].pack(POINTSTRUCT)
  GetCursorPos.call(r)
  r.unpack(POINTSTRUCT)
end