SQLITE has NEW and OLD references you can use to obtain current or previous values from the update. Given your requirement either would probably be usable.
CREATE TRIGGER update_trigger
AFTER UPDATE OF foo1 ON Computer FOR EACH ROW
BEGIN
UPDATE Keyboard
SET foo2 = 'someValue'
WHERE computerId = OLD.id ;
END;