http://www.40percent.club/2017/07/4-pack.html のキーボードを作るための手順
- お好みのキースイッチ 4つ
- お好みのキーキャップ 4つ
- Arduino (Pro Micro) 1つ
- 12ピンのピンヘッダ 2つ
# -*- coding: utf-8 -*- | |
Plugin.create(:nonomura) do | |
command( | |
:nonomura, | |
name: '野々村', | |
condition: -> _ { true }, | |
visible: true, | |
role: :timeline |
require 'cairo' | |
require 'pango' | |
cxt = Cairo::Context.new(Cairo::ImageSurface.new(200,200)) | |
puts "Our outer CR is: #{cxt.inspect}" | |
cxt.set_source_color('white') | |
cxt.paint | |
cxt.set_source_color('red') | |
extent_width = 200 |
http://www.40percent.club/2017/07/4-pack.html のキーボードを作るための手順
# -*- coding: utf-8 -*- | |
Plugin.create(:mikutter_currybox) do | |
command( | |
:mikutter_currybox, | |
name: '大型カレーボックス', | |
condition: lambda{ |opt| true }, | |
visible: true, | |
role: :timeline | |
) do |opt| |