Ticket #66 (new enhancement)

Opened 5 years ago

Last modified 5 years ago

execution of commands

Reported by: jpizarro Owned by: nickishappy
Priority: minor Milestone: Version 1.0
Component: wminput Version: 0.6.00
Keywords: wminput plugin Cc:

Description

it's a good idea can execute commands.

eg. for elisa

# This is the elisa-config file

Wiimote.A       = KEY_ENTER
Wiimote.B       = KEY_SPACE
Wiimote.Up      = KEY_UP
Wiimote.Down    = KEY_DOWN
Wiimote.Left    = KEY_LEFT
Wiimote.Right   = KEY_RIGHT
Wiimote.Minus   = KEY_X
Wiimote.Plus    = KEY_C
Wiimote.Home    = "/mnt/disk/src/wii/elisa-mmplayer"
Wiimote.1       = KEY_SPACE
#Wiimote.2      = KEY_Q
Wiimote.1       = KEY_SPACE
#Wiimote.2      = KEY_Q

Attachments

command-execution.patch Download (4.7 KB) - added by jpizarro 5 years ago.

Change History

Changed 5 years ago by jpizarro

Changed 5 years ago by nickishappy

  • keywords wminput plugin added
  • owner changed from dsmith to nickishappy
  • priority changed from major to minor
  • version set to 0.6.00
  • milestone set to Version 1.0

Can be done as a wminput plugin. This has been discussed as a plugin. I can see what I can do with python and executing scripts.

Changed 5 years ago by dsmith

Close, but system waits on the command to finish executing, which isn't what we want - your overall framework looks good, but you need to fork & exec rather than call system.

I'm leaning toward a more explicit syntax for commands, as well. Any ideas?

Note: See TracTickets for help on using tickets.