mirror of
https://github.com/CrispyPin/sinpin-vr.git
synced 2025-06-06 14:05:33 +02:00
add haptic feedback on scroll
This commit is contained in:
parent
47ebf9d64c
commit
6f44ea6b5a
5 changed files with 24 additions and 1 deletions
|
@ -55,6 +55,11 @@
|
|||
"name": "/actions/cursor/in/scroll",
|
||||
"requirement": "suggested",
|
||||
"type": "vector2"
|
||||
},
|
||||
{
|
||||
"name": "/actions/cursor/out/scroll_haptic",
|
||||
"requirement": "suggested",
|
||||
"type": "vibration"
|
||||
}
|
||||
],
|
||||
"action_sets": [
|
||||
|
@ -83,7 +88,8 @@
|
|||
"/actions/cursor/in/mouse_left": "left mouse button",
|
||||
"/actions/cursor/in/mouse_right": "right mouse button",
|
||||
"/actions/cursor/in/mouse_middle": "middle mouse button",
|
||||
"/actions/cursor/in/scroll": "scroll"
|
||||
"/actions/cursor/in/scroll": "scroll",
|
||||
"/actions/cursor/out/scroll_haptic": "scrolling haptic feedback"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -141,6 +141,16 @@
|
|||
"app_key" : "system.generated.sinpin_vr",
|
||||
"bindings" : {
|
||||
"/actions/cursor" : {
|
||||
"haptics" : [
|
||||
{
|
||||
"output" : "/actions/cursor/out/scroll_haptic",
|
||||
"path" : "/user/hand/left/output/haptic"
|
||||
},
|
||||
{
|
||||
"output" : "/actions/cursor/out/scroll_haptic",
|
||||
"path" : "/user/hand/right/output/haptic"
|
||||
}
|
||||
],
|
||||
"sources" : [
|
||||
{
|
||||
"inputs" : {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue