UsbDeviceHacker
  1. /animation
UsbDeviceHacker
  • /mouse
    • mouseSet
      POST
    • mouseRemove
      POST
    • mouseClick
      POST
  • /keyboard
    • keyboardSet
      POST
    • keyboardRemove
      POST
    • keyboardClick
      POST
  • /animation
    • animationSet_id=1
      POST
    • animationSet_id=2
      POST
    • animationSet_id=3
      POST
    • animationRemove
      POST
  1. /animation

animationSet_id=1

Developing
POST
/animation/set
Позволяет плавно двигать мышь в указанном направлении. Обязательные параметры id и direction.

Request

Body Params application/json
id
integer 
required
direction
string 
required
направление движения.Есть right, left, top, bottom
speed
integer 
required
скорость от 1 до 10 вкл
buttons
integer 
required
Example
{
    "id": 1,
    "direction": "right",
    "speed": 1 
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/animation/set' \
--header 'Content-Type: application/json' \
--data-raw '{
    "id": 1,
    "direction": "right",
    "speed": 1 
}'

Responses

🟢200Success
application/json
Body
status
string 
required
Example
{
    "status": "string"
}
🟠400Bad
🔴507BadStm
Modified at 2024-10-28 09:47:08
Previous
keyboardClick
Next
animationSet_id=2
Built with