google / project-gameface

Apache License 2.0
588 stars 84 forks source link

add toggle for cursor movement #21

Open acidcoke opened 1 year ago

acidcoke commented 1 year ago

closes #19

Gimpygod commented 1 year ago

Thanks @acidcoke ! I had this ability on my wishlist for people who are comfortable with whatever method they use for cursor control but need gestures for switch options. You rock!

acidcoke commented 1 year ago

@Gimpygod do you have more items that are on your wishlist that aren't implemented yet? Maybe you could create some Issues for them so others could implement them?

Gimpygod commented 1 year ago

@Gimpygod do you have more items that are on your wishlist that aren't implemented yet? Maybe you could create some Issues for them so others could implement them?

Well since you asked, heck yeah I do have a wishlist!(some are probably super difficult)

The cursor is getting really erratic and jumpy when I slow down to click on a button, feels like Gameface doesn’t know what to do with tiny/slow movements or when to simply pause trying to interpret insignificant adjustments so I can click. Hopefully the solution wouldn’t be too heavy handed so I can move on quickly to other gaming tasks.

add a mode that treats cursor movement like a D-pad on a controller. Basically WASD and the combinations needed for diagonals. This would allow retro gaming and that is a good thing!

Allow face gestures the option of being analog, for example pressing the gas in a driving game should be incremental rather than on/off. This would also help me with creating art since many programs adjust line darkness or width based on how much pressure is being applied. For instance mouth move left could gradually increase values as you move more left.

Those are wishes that would really improve the quality and versatility of Gameface beyond gaming into creating. Thanks @acidcoke for asking what might be helpful to me.

acidcoke commented 1 year ago

This is pretty much done. I'm not sure if the way I implemented is up to standards since this is the first time I had anything to do with python GUIs. I'm still going to make this setting saveable.

acidcoke commented 1 year ago

Done! This was way easier than expected.

willwade commented 1 year ago

👍 this looks great. Merge pls!

Gimpygod commented 1 year ago

@acidcoke you are epic! I would like to chat with you sometime about what you have learned from working with this app, the underlying AI & , maybe on discord if possible, to discuss Gameface and Media Pipe which is the foundation making all this possible. If you are uncomfortable with that, absolutely no worries 😉! Thanks for your work and expertise.

acidcoke commented 1 year ago

@Gimpygod sure, I'm potathor#2077 on Discord