UsbDeviceHacker
  1. /mouse
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. /mouse

mouseClick

Developing
POST
/mouse/click
Эмулирует клик мыши, также на клик кнопок влияют младшие три бита числа согласно офицальной документации.

Request

Body Params application/json
buttons
integer 
required
Example
{
    "buttons": 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 '/mouse/click' \
--header 'Content-Type: application/json' \
--data-raw '{
    "buttons": 1
}'

Responses

🟢200Success
application/json
Body
status
string 
required
Example
{
    "status": "string"
}
🟠400Bad
🔴507BadStm
Modified at 2024-10-28 08:56:46
Previous
mouseRemove
Next
keyboardSet
Built with