Opened 16 years ago

Closed 16 years ago

#6713 closed enhancement (wontfix)

joystick volume control

Reported by: Michael Bishop <clever@…> 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)

joystick_volume_6713.diff (4.3 KB ) - added by Michael Bishop <clever@…> 16 years ago.
patch
joystick_volume_6713.2.diff (4.3 KB ) - added by Michael Bishop <clever@…> 16 years ago.
fixed a small problem in libmyth/volumebase.cpp

Download all attachments as: .zip

Change History (6)

by Michael Bishop <clever@…>, 16 years ago

Attachment: joystick_volume_6713.diff added

patch

comment:1 by Michael Bishop <clever@…>, 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 stuartm, 16 years ago

Owner: changed from stuartm to Isaac Richards
Status: newassigned

by Michael Bishop <clever@…>, 16 years ago

Attachment: joystick_volume_6713.2.diff added

fixed a small problem in libmyth/volumebase.cpp

comment:3 by stuartm, 16 years ago

Milestone: 0.22unknown

comment:4 by robertm, 16 years ago

Resolution: wontfix
Status: assignedclosed

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).

Note: See TracTickets for help on using tickets.