I'm trying to build a keyboard addon for my smartphone (https://gitlab.com/xengi/mkbd65). The last challenge I'm facing is how the two pieces, namely the smartphone and the keyboard should slide back and forth. I know I need some kind of linear slider.
Something like that: http://en.smoothgroup.cc/goods/detail/58.htm
How would I construct or implement something like that? Is there a better way to do it? What do I need to consider which I maybe haven't thought about?
I don't think I'm able to do something like that: http://phonesdata.com/files/models/Nokia-N950-482.jpg
So my goal is to build something like that: http://phonesdata.com/files/models/Nokia-N900-684.jpg
Any help appreciated!