|
Revision 346, 1.0 kB
(checked in by tomoyo, 3 years ago)
|
|
* 暫定的にJIS配列に対応した
* その他修正
|
-
Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 | using System; |
|---|
| 2 | using System.Collections.Generic; |
|---|
| 3 | using System.Text; |
|---|
| 4 | using System.Windows.Forms; |
|---|
| 5 | |
|---|
| 6 | namespace Misuzilla.Applications.AppleWirelessKeyboardHelper |
|---|
| 7 | { |
|---|
| 8 | internal class KeyEventArgs : EventArgs |
|---|
| 9 | { |
|---|
| 10 | public Boolean IsPowerButtonDown; |
|---|
| 11 | public AppleKeyboardKeys AppleKeyboardKey; |
|---|
| 12 | |
|---|
| 13 | public KeyEventArgs(Boolean isPowerButtonDown, AppleKeyboardKeys appleKeyboardKey) |
|---|
| 14 | { |
|---|
| 15 | IsPowerButtonDown = isPowerButtonDown; |
|---|
| 16 | AppleKeyboardKey = appleKeyboardKey; |
|---|
| 17 | } |
|---|
| 18 | } |
|---|
| 19 | |
|---|
| 20 | internal class AppleKeyboardEventArgs : EventArgs |
|---|
| 21 | { |
|---|
| 22 | public AppleKeyboardKeys AppleKeyState; |
|---|
| 23 | public Keys Key; |
|---|
| 24 | public Win32.KeyboardHookEventStruct KeyEventStruct; |
|---|
| 25 | public Boolean Handled = false; |
|---|
| 26 | |
|---|
| 27 | public AppleKeyboardEventArgs(AppleKeyboardKeys appleKeyState, Keys key, Win32.KeyboardHookEventStruct keyEventStruct) |
|---|
| 28 | { |
|---|
| 29 | AppleKeyState = appleKeyState; |
|---|
| 30 | Key = key; |
|---|
| 31 | KeyEventStruct = keyEventStruct; |
|---|
| 32 | } |
|---|
| 33 | } |
|---|
| 34 | } |
|---|