Commit Graph

11 Commits

Author SHA1 Message Date
smirgol df8f844f4e Merge branch 'master' of https://github.com/smirgol/LinVAM 2020-06-17 01:01:27 +02:00
smirgol 4ec945f99e Small fix in finding correct ED game window, added pressed key output to shell 2020-06-17 01:00:41 +02:00
flintparrell 85b8445a2c fixed semicolons in main, and type in readme, centered volume slider 2020-05-22 08:11:13 -07:00
smirgol 7b4ae4d3e7 Fixes & implementation of playing audio files. See changes.md for details.
- hacked profileexcutor to reload command list when changing it. it did not do that,
  so changing the profile had no effect at all.
- hacked profileexecutor to somewhat make use of "Enable listening".
  It was an option without functionality at all until now.
- created new directory 'voicepacks', copy HCS voicepacks here
- new command to play a sound
- new gui to select sounds from voicepacks
- created playsound class that reads voicepack files and plays audio files with ffplay
- added alternate keypress handling using xdotool, which won't require root privileges.
  might not work for any key existing in profiles, as some need to be remapped. added some remappings to profileexecutor.py pressKey()
- added basic command line argument reading to set some configs. right now there:
  -noroot - will enable xdotool usage for keypresses
  -xdowindowid <windowid> - will send keypresses to this window only, makes it more relyable when window is not focused for any reason
- added auto-detection of Elite Dangerous client window id if -noroot is used and no -xdowindowid is supplied.
  for this to work, start this script AFTER the client is already running.
- monkey-wrenched a volume slider to the main window
- added confirmation dialog for removing a profile (!)
- copy existing profile. added a copy button to the main menu
- properly shutdown audio recording stream
- updated gitignore to ignore audio files
2020-05-16 20:51:24 +02:00
Daniele Scasciafratte e9c51b373e create a config folder 2019-05-05 16:51:22 +02:00
Daniele Scasciafratte fd724b6770 remove modules not used 2019-05-05 16:32:17 +02:00
Daniele Scasciafratte a83482740b now it is possible to close from command line 2019-04-21 15:16:20 +02:00
Daniele Scasciafratte 8e00abcbc1 adding permission to main.py 2019-04-21 15:10:41 +02:00
Daniele Scasciafratte 0ca08f9ff1
added shebang for python 2019-04-21 14:57:22 +02:00
rose-jinyang 8279d77e42 added the initial version for voice command spotting 2019-04-17 11:52:40 +08:00
rose-jinyang 821cee0db2 initial commit 2019-04-08 22:20:07 +08:00