Trouble using xbindkeys to create an animation cancelling script in Stardew valley

Rockette

New Member
Joined
Apr 17, 2025
Messages
1
Reaction score
1
Credits
17
I am at a loss. I have been debugging and looking things up but I cannot seem to make a macro with xbindkeys that allows me to animation cancel in Stardew Valley.
Here is the command I tried and a non exhaustive list of debugging macros I also tried

Code:
"xdotool key Shift_R+Delete+R"
  b:9 #doesn't cancel animations
"xdotool keydown Shift_R+Delete+R; keyup Shift_R+Delete+R"
  b:9 #still doesn't work
"xdotool key 6"
  b:9 #switches to slot 6 ~a quarter of the time, otherwise does nothing
"xdotool keydown 6; xdotool keyup 6"
  b:9 #switches to slot 6 100% of the time
"xdotool keydown r; xdotool keyup r"
  b:9 #writes a lowercase r
"xdotool key Shift_R+r"
  b:9 #writes an uppercase r
"xdotool keydown Shift_R"
  b:9 #works like the right shift key
"xdotool key Delete"
  b:9 #works like the delete key
I am aware that if I am pressing button 1 while pressing button 9, the command(s) will not go through. However, I have accounted for that and it still doesn't work (also if anyone knows a workaround to that I would greatly appreciate you telling me). I have also tried xte instead of xdotool but sdv won't recognize inputs from xte. If anyone has any idea what is going wrong please tell me. I feel like I am going insane. I genuinely cannot think of a single reason why every single macro besides the animation cancelling ones does what it is supposed to.
 


maybe you should try Keymapper, if you find this project interesting here is what I use in the config
Code:
[class = /(StardewModdingAPI|Stardew Valley)/]
ButtonBack{ButtonLeft} >> ButtonLeft{72ms} 172ms (Delete ShiftRight R){17ms}
 
I am at a loss. I have been debugging and looking things up but I cannot seem to make a macro with xbindkeys that allows me to animation cancel in Stardew Valley.
Here is the command I tried and a non exhaustive list of debugging macros I also tried

Code:
"xdotool key Shift_R+Delete+R"
  b:9 #doesn't cancel animations
"xdotool keydown Shift_R+Delete+R; keyup Shift_R+Delete+R"
  b:9 #still doesn't work
"xdotool key 6"
  b:9 #switches to slot 6 ~a quarter of the time, otherwise does nothing
"xdotool keydown 6; xdotool keyup 6"
  b:9 #switches to slot 6 100% of the time
"xdotool keydown r; xdotool keyup r"
  b:9 #writes a lowercase r
"xdotool key Shift_R+r"
  b:9 #writes an uppercase r
"xdotool keydown Shift_R"
  b:9 #works like the right shift key
"xdotool key Delete"
  b:9 #works like the delete key
I am aware that if I am pressing button 1 while pressing button 9, the command(s) will not go through. However, I have accounted for that and it still doesn't work (also if anyone knows a workaround to that I would greatly appreciate you telling me). I have also tried xte instead of xdotool but sdv won't recognize inputs from xte. If anyone has any idea what is going wrong please tell me. I feel like I am going insane. I genuinely cannot think of a single reason why every single macro besides the animation cancelling ones does what it is supposed to. geometry dash scratch
The use of xbindkeys for creating an animation-canceling script in Stardew Valley is a clever approach to enhance gameplay
 
Last edited:


Follow Linux.org

Members online


Top