## # (IPC) 数字キーが押された場合 # def ipc_digit( sock, param ) digit = param["value"] trigger_event( "DIGIT", digit ) reply( sock, 200, "OK" ) end ## # (IPC) 開始が押された # def ipc_start( sock, param ) trigger_event( "START" ) reply( sock, 200, "OK" ) end ## # (IPC) 停止が押された # def ipc_stop( sock, param ) trigger_event( "STOP" ) reply( sock, 200, "OK" ) end