This should be straightforward, because the throttle can never provide negative acceleration and the brake can never provide positive acceleration.
It sounds like you want to create a linear mapping from an input acceleration $(a)$ to a throttle and brake output. If the response of the throttle system for a given velocity $v$ is
$$
f(x_{throttle}) = a
$$
(where $a > 0$), and the response of the braking system is
$$
g(y_{brake}) = a
$$
(where ($a < 0$ if $v > 0$ and is 0 otherwise), you will just define the controller in a piecewise fashion.
$$
control_{throttle}(a) = \begin{cases} f^{-1}(a) & a \gt 0 \\ 0 & a \le 0 \end{cases}
$$
and
$$
control_{brake}(a) = \begin{cases}g^{-1}(a) & a \lt 0 \\ 0 & a > 0 \\ C_{parkingbrake} & a = 0 \end{cases}
$$