summaryrefslogtreecommitdiff
blob: ccf11628c7748a592af5f0b844dbe0bb8933c970 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
diff -ru control-0.0.2a-orig/gateway.c control-0.0.2a/gateway.c
--- control-0.0.2a-orig/gateway.c	2006-12-03 16:44:46.170845357 +0100
+++ control-0.0.2a/gateway.c	2006-12-03 16:44:58.149701387 +0100
@@ -100,7 +100,7 @@
 
     if (_stack.poll(100)) {
 
-      uint64 Command = 0;
+      uint64_t Command = 0;
       uint i = 0;
       cTimeMs t0;
       t0.Set();
diff -ru control-0.0.2a-orig/keyboard.c control-0.0.2a/keyboard.c
--- control-0.0.2a-orig/keyboard.c	2006-12-03 16:44:46.170845357 +0100
+++ control-0.0.2a/keyboard.c	2006-12-03 16:45:29.825253136 +0100
@@ -18,7 +18,7 @@
 
 struct tKbdMap {
   eKbdFunc func;
-  uint64 code;
+  uint64_t code;
 };
 
 
@@ -117,7 +117,7 @@
 
 
 
-bool cCtrlKeyboard::intPut(uint64 Command, bool Repeat, bool Release) {
+bool cCtrlKeyboard::intPut(uint64_t Command, bool Repeat, bool Release) {
 
   bool ret = cRemote::Put(Command, Repeat, Release);
 conLOG_KEYB("%s cKbdRemoteForControl::intPut(0x%016LX)", ret ? "true" : "false", Command);
@@ -126,7 +126,7 @@
 
 
 
-bool cCtrlKeyboard::Put(uint64 Command, bool Repeat, bool Release) {
+bool cCtrlKeyboard::Put(uint64_t Command, bool Repeat, bool Release) {
 
   if (! _pRemote)
     _pRemote = new cCtrlKeyboard();
@@ -136,7 +136,7 @@
 
 
 
-int cCtrlKeyboard::MapCodeToFunc(uint64 Code) {
+int cCtrlKeyboard::MapCodeToFunc(uint64_t Code) {
 
   for (const tKbdMap *p = keyboardKbdMap; p->func != kfNone; p++) {
     if (p->code == Code)
diff -ru control-0.0.2a-orig/keyboard.h control-0.0.2a/keyboard.h
--- control-0.0.2a-orig/keyboard.h	2006-12-03 16:44:46.170845357 +0100
+++ control-0.0.2a/keyboard.h	2006-12-03 16:45:14.261542675 +0100
@@ -30,11 +30,11 @@
   cCtrlKeyboard();
   virtual ~cCtrlKeyboard();
 
-  bool intPut(uint64 Command, bool Repeat, bool Release);
+  bool intPut(uint64_t Command, bool Repeat, bool Release);
 
 public:
-  static bool Put(uint64 Command, bool Repeat = false, bool Release = false);
-  static int MapCodeToFunc(uint64 Code);
+  static bool Put(uint64_t Command, bool Repeat = false, bool Release = false);
+  static int MapCodeToFunc(uint64_t Code);
 };