It is often impossible to voice a guitar chord the same as a keyboard - for example to play D/F# you have to ask the guitarist to fret on F# playing a C shape, certain chords are virtually unplayable in the (requested) guitar variation and some are quite natural, especially those involving any of the open strings. Its usually better to listen to what the guitar can do and compensate with the keyboard to get the required inversion/layering. It will also sound more natural (obviously). This also transfers over into programming guitar parts - Think of the shape the guitar can physically play and then program those notes only.