Opened 16 years ago
Closed 16 years ago
#6713 closed enhancement (wontfix)
joystick volume control
| Reported by: | Owned by: | Isaac Richards | |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | MythTV - User Interface Library | Version: | head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
this patch will let you directly link a analog input/axis to the volume control in mythfrontend
this allows the throttle slider/level to control the volume, which is alot more natural then using 2 buttons for up/down
i couldnt figure out how to get a pointer to the PlayerContext, NuppelVideoPlayer, or VolumeBase, so i just edited VolumeBase to store its own addr in a global pointer
Attachments (2)
Change History (6)
by , 16 years ago
| Attachment: | joystick_volume_6713.diff added |
|---|
comment:1 by , 16 years ago
bind_axis 3 255 0 volume
almost forgot, this is a sample from joystickmenurc, which connects axis 3 to the volume 255 is 0 volume(the min) and 0 is full volume(max value)
comment:2 by , 16 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
by , 16 years ago
| Attachment: | joystick_volume_6713.2.diff added |
|---|
fixed a small problem in libmyth/volumebase.cpp
comment:3 by , 16 years ago
| Milestone: | 0.22 → unknown |
|---|
comment:4 by , 16 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | assigned → closed |
I just don't see this ever getting applied, both because it's code of extremely limited value, and because it does illegal/unallowed things with library dependency order (you can't include libmyth in libmythui).

patch