Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
10
Task/Simulate-input-Mouse/Racket/simulate-input-mouse.rkt
Normal file
10
Task/Simulate-input-Mouse/Racket/simulate-input-mouse.rkt
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#lang at-exp racket
|
||||
|
||||
(require ffi/unsafe)
|
||||
|
||||
(define mouse-event
|
||||
(get-ffi-obj "mouse_event" (ffi-lib "user32")
|
||||
(_fun _int32 _int32 _int32 _int32 _pointer -> _void)))
|
||||
|
||||
(mouse-event #x2 0 0 0 #f)
|
||||
(mouse-event #x4 0 0 0 #f)
|
||||
Loading…
Add table
Add a link
Reference in a new issue