Re: [問題] pygame error
os.putenv('SDL_FBDEV', '/dev/fb1')
os.putenv('SDL_MOUSEDRV', 'TSLIB')
os.putenv('SDL_MOUSEDEV', '/dev/input/touchscreen')
少複製了這段code,發現好像是device不同要重新定義的關係
原來是用raspberry pi 3.5 touch screen 現在改用7
請問我該如何做更改
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.116.78.236
※ 文章網址: https://www.ptt.cc/bbs/Python/M.1446705818.A.240.html
討論串 (同標題文章)
Python 近期熱門文章
PTT數位生活區 即時熱門文章